]> git.pld-linux.org Git - packages/python3-py-postgresql.git/commitdiff
- use rpm python macros auto/th/python3-py-postgresql-1.0.4-8
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 7 May 2016 07:29:57 +0000 (09:29 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 7 May 2016 07:29:57 +0000 (09:29 +0200)
- rel 8

python3-py-postgresql.spec

index f923c77bfa441709a181e2ab429966f0f0f42c5b..fe52420b164497a4c08a68565066e7d92c253729 100644 (file)
@@ -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
This page took 0.109444 seconds and 4 git commands to generate.