[packages/python-burn] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:17:10 CET 2015
commit a8041b8c1c371a6e55c17efb82effce7494adf0d
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
automatic change: use py_build/py_install macros
python-burn.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-burn.spec b/python-burn.spec
index e0776ba..00afc9c 100644
--- a/python-burn.spec
+++ b/python-burn.spec
@@ -38,14 +38,11 @@ sposób.
%patch0 -p1
%build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
install -d $RPM_BUILD_ROOT%{_sysconfdir}/burn
install -d $RPM_BUILD_ROOT%{_mandir}/man1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-burn.git/commitdiff/a8041b8c1c371a6e55c17efb82effce7494adf0d
More information about the pld-cvs-commit
mailing list