[packages/python-simplexml] - use py3 macros for compilation
witekfl
witekfl at pld-linux.org
Sun Jul 21 13:56:07 CEST 2013
commit dd8385e68e6fe8ff78bec571a38f4d8c5ab0fa1e
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Jul 21 13:55:23 2013 +0200
- use py3 macros for compilation
python-simplexml.spec | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/python-simplexml.spec b/python-simplexml.spec
index 825f51b..50949ea 100644
--- a/python-simplexml.spec
+++ b/python-simplexml.spec
@@ -6,7 +6,7 @@ Summary: Simplexml in Python
Summary(pl.UTF-8): simplexml w Pythonie
Name: python-%{module}
Version: 0.6.1
-Release: 2
+Release: 3
License: GPL
Group: Libraries/Python
Source0: http://www.fit.vutbr.cz/~smrcka/projects/simplexml/%{module}-%{version}.tar.gz
@@ -86,9 +86,8 @@ install *.py $RPM_BUILD_ROOT%{py3_sitescriptdir}/simplexml/
%if %{with python3}
2to3-3.3 -w -n $RPM_BUILD_ROOT%{py3_sitescriptdir}
-%py_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}
-%py_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
-%py_postclean
+%py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}
+%py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-simplexml.git/commitdiff/dd8385e68e6fe8ff78bec571a38f4d8c5ab0fa1e
More information about the pld-cvs-commit
mailing list