[packages/baculafs] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 19:22:45 CET 2015
commit 5866406f04ef241bee8c17a87f4580f9de732a1a
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 19:20:07 2015 +0100
automatic change: use py_build/py_install macros
baculafs.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/baculafs.spec b/baculafs.spec
index 8b46f96..1aa4564 100644
--- a/baculafs.spec
+++ b/baculafs.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/baculafs.git/commitdiff/5866406f04ef241bee8c17a87f4580f9de732a1a
More information about the pld-cvs-commit
mailing list