packages: python-actdiag/python-actdiag.spec - py-postclean, BR python-func...
glen
glen at pld-linux.org
Tue Oct 18 13:08:37 CEST 2011
Author: glen Date: Tue Oct 18 11:08:37 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- py-postclean, BR python-funcparserlib not needed, do not package tests
---- Files affected:
packages/python-actdiag:
python-actdiag.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/python-actdiag/python-actdiag.spec
diff -u packages/python-actdiag/python-actdiag.spec:1.4 packages/python-actdiag/python-actdiag.spec:1.5
--- packages/python-actdiag/python-actdiag.spec:1.4 Tue Oct 18 09:22:23 2011
+++ packages/python-actdiag/python-actdiag.spec Tue Oct 18 13:08:32 2011
@@ -1,4 +1,11 @@
# $Revision$, $Date$
+# TODO
+# - unpackaged files:
+# /usr/share/python2.7/site-packages/actdiag_sphinxhelper.pyc
+# /usr/share/python2.7/site-packages/actdiag_sphinxhelper.pyo
+# /usr/share/python2.7/site-packages/sphinxcontrib_actdiag.pyc
+# /usr/share/python2.7/site-packages/sphinxcontrib_actdiag.pyo
+
%define module actdiag
Summary: actdiag generate activity-diagram image file from spec-text file
Name: python-%module
@@ -9,7 +16,6 @@
URL: http://blockdiag.com/en/actdiag/index.html
Source0: http://pypi.python.org/packages/source/a/%{module}/%{module}-%{version}.tar.gz
# Source0-md5: c14ad2a72b0293be3b5613780151e591
-BuildRequires: python-funcparserlib >= 0.3.4
BuildRequires: rpmbuild(macros) >= 1.219
BuildRequires: sed >= 4.0
Requires: python-blockdiag >= 0.8.1
@@ -38,13 +44,18 @@
--skip-build \
--root $RPM_BUILD_ROOT
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/tests
+
+%py_postclean
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/%{module}
-%{py_sitescriptdir}/%{module}
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
%if "%{py_ver}" > "2.4"
%{py_sitescriptdir}/%{module}-%{version}-*.egg-info
%endif
@@ -55,6 +66,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2011/10/18 11:08:32 glen
+- py-postclean, BR python-funcparserlib not needed, do not package tests
+
Revision 1.4 2011/10/18 07:22:23 cieciwa
- release 0.2,
- updated requires.`
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-actdiag/python-actdiag.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list