[packages/python-cryptsetup] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:19:06 CET 2015
commit f8c5c3751e2406f3710fab55eb5be927882301d0
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-cryptsetup.spec | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/python-cryptsetup.spec b/python-cryptsetup.spec
index d731fdc..a96ca52 100644
--- a/python-cryptsetup.spec
+++ b/python-cryptsetup.spec
@@ -31,16 +31,11 @@ Moduł Pythona ułatwiający operacje na urządzeniach LUKS
%setup -q
%build
-CC="%{__cc}" \
-CFLAGS="%{rpmcflags}" \
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cryptsetup.git/commitdiff/f8c5c3751e2406f3710fab55eb5be927882301d0
More information about the pld-cvs-commit
mailing list