[packages/python-cryptkit] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:18:58 CET 2015
commit 2b40e8c1ed64ee5dc2e2e82a4366fa4ff8950062
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-cryptkit.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-cryptkit.spec b/python-cryptkit.spec
index 86359c2..146ed56 100644
--- a/python-cryptkit.spec
+++ b/python-cryptkit.spec
@@ -34,14 +34,11 @@ Wystarczająco jasny aby być alternatywą dla SSL.
%setup -q -n %{module}-%{version}
%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
%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
%py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-cryptkit.git/commitdiff/2b40e8c1ed64ee5dc2e2e82a4366fa4ff8950062
More information about the pld-cvs-commit
mailing list