]> git.pld-linux.org Git - packages/python-ndg-httpsclient.git/blobdiff - python-ndg-httpsclient.spec
automatic change: use py_build/py_install macros
[packages/python-ndg-httpsclient.git] / python-ndg-httpsclient.spec
index a369388fe68fcbbbfa9d09c8bf0491c5bda47823..734914c0b53719ba53c20cfd33d1122c69a40c59 100644 (file)
@@ -39,16 +39,12 @@ pełną weryfikację drugiej strony połączenia SSL.
 %setup -q -n ndg_httpsclient-%{version}
 
 %build
-%{__python} setup.py build --build-base build-2 %{?with_tests:test}
+%py_build %{?with_tests:test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py \
-       build --build-base build-2 \
-       install --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
This page took 0.066872 seconds and 4 git commands to generate.