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

index 8b46f96f5a7299cc47dbb626bfd8f0e1542a6740..1aa456473360d39a4be1d784cae00a843f65c7b8 100644 (file)
@@ -45,14 +45,11 @@ with the normal operation of a live Bacula setup.
 %{__rm} -r %{pypi_name}.egg-info
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
This page took 0.08892 seconds and 4 git commands to generate.