packages: python-seqdiag/python-seqdiag.spec - py_postclean, remove tests, ...
glen
glen at pld-linux.org
Tue Oct 18 13:26:16 CEST 2011
Author: glen Date: Tue Oct 18 11:26:16 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- py_postclean, remove tests, python-funcparserlib BR not needed, some unpackaged files todo
---- Files affected:
packages/python-seqdiag:
python-seqdiag.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/python-seqdiag/python-seqdiag.spec
diff -u packages/python-seqdiag/python-seqdiag.spec:1.5 packages/python-seqdiag/python-seqdiag.spec:1.6
--- packages/python-seqdiag/python-seqdiag.spec:1.5 Tue Oct 18 09:21:18 2011
+++ packages/python-seqdiag/python-seqdiag.spec Tue Oct 18 13:26:11 2011
@@ -1,7 +1,13 @@
# $Revision$, $Date$
+# TODO
+# - unpackaged files
+# /usr/share/python2.7/site-packages/seqdiag_sphinxhelper.pyc
+# /usr/share/python2.7/site-packages/seqdiag_sphinxhelper.pyo
+# /usr/share/python2.7/site-packages/sphinxcontrib_seqdiag.pyc
+# /usr/share/python2.7/site-packages/sphinxcontrib_seqdiag.pyo
%define module seqdiag
Summary: seqkdiag generate sequence-diagram image file from spec-text file
-Name: python-%module
+Name: python-%{module}
Version: 0.4.2
Release: 0.2
License: Apache v2.0
@@ -9,8 +15,6 @@
URL: http://blockdiag.com/en/seqdiag/index.html
Source0: http://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
# Source0-md5: d13415c44193ca6e3c6409dbb73cd693
-#BuildRequires: python < 3.0
-BuildRequires: python-funcparserlib >= 0.3.4
BuildRequires: rpmbuild(macros) >= 1.219
BuildRequires: sed >= 4.0
Requires: python-blockdiag
@@ -39,13 +43,17 @@
--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}/seqdiag
-%{py_sitescriptdir}/%{module}
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
%if "%{py_ver}" > "2.4"
%{py_sitescriptdir}/%{module}-%{version}-*.egg-info
%endif
@@ -56,6 +64,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2011/10/18 11:26:11 glen
+- py_postclean, remove tests, python-funcparserlib BR not needed, some unpackaged files todo
+
Revision 1.5 2011/10/18 07:21:18 cieciwa
- release 0.2,
- updated Requires.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-seqdiag/python-seqdiag.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list