]> git.pld-linux.org Git - packages/python-pyPgSQL.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
python-pyPgSQL.spec

index 58c2707f75398954a5074bf4d1fc48dada1f98ef..5800f74ab3e25c1d77e02d931c72430da5d2c270 100644 (file)
@@ -40,14 +40,12 @@ NUMERIC, MONEY, BOOL, ARRAYS itp. Ten moduĊ‚ jest napisany w Pythonie.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 find $RPM_BUILD_ROOT%{py_sitedir} -type f -name "*.py" | xargs rm
 
This page took 0.181082 seconds and 4 git commands to generate.