[packages/python-PyGreSQL] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:10:47 CET 2015
commit b05e6f42d01505ca1d896f1dc33fb86f2f939601
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-PyGreSQL.spec | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-PyGreSQL.spec b/python-PyGreSQL.spec
index fee4faf..b43b671 100644
--- a/python-PyGreSQL.spec
+++ b/python-PyGreSQL.spec
@@ -37,9 +37,7 @@ korzystanie z potężnych możliwości PostgreSQL-a w skryptach Pythona.
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
install tutorial/*.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-PyGreSQL.git/commitdiff/b05e6f42d01505ca1d896f1dc33fb86f2f939601
More information about the pld-cvs-commit
mailing list