[packages/python3-py-postgresql] - use rpm python macros - rel 8
baggins
baggins at pld-linux.org
Sat May 7 09:30:15 CEST 2016
commit 5a4f434a6ca968cc7994ec0bfd37ea1393e4e7fd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat May 7 09:29:57 2016 +0200
- use rpm python macros
- rel 8
python3-py-postgresql.spec | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/python3-py-postgresql.spec b/python3-py-postgresql.spec
index f923c77..fe52420 100644
--- a/python3-py-postgresql.spec
+++ b/python3-py-postgresql.spec
@@ -1,7 +1,7 @@
Summary: PostgreSQL driver and tools library
Name: python3-py-postgresql
Version: 1.0.4
-Release: 7
+Release: 8
License: BSD
Group: Development/Languages/Python
Source0: http://python.projects.postgresql.org/files/py-postgresql-%{version}.tar.gz
@@ -23,13 +23,11 @@ various parts of PostgreSQL. Notably, it provides a pure-Python driver
%setup -q -n py-postgresql-%{version}
%build
-python3 -- setup.py build
+%py3_build
%install
rm -rf $RPM_BUILD_ROOT
-python3 -- setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py3_install
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-py-postgresql.git/commitdiff/5a4f434a6ca968cc7994ec0bfd37ea1393e4e7fd
More information about the pld-cvs-commit
mailing list