[packages/python-mutagen] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:31:54 CET 2015
commit 89853bf782ac04ffd1a49fef1cf8cee33ffb7ebe
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-mutagen.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-mutagen.spec b/python-mutagen.spec
index 71c9c66..e55e105 100644
--- a/python-mutagen.spec
+++ b/python-mutagen.spec
@@ -47,14 +47,12 @@ Proste narzędzia do odczytu i zapisu metadanych dźwiękowych.
%setup -q -n %{module}-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%py_postclean
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-mutagen.git/commitdiff/89853bf782ac04ffd1a49fef1cf8cee33ffb7ebe
More information about the pld-cvs-commit
mailing list