]> git.pld-linux.org Git - packages/baculafs.git/blobdiff - baculafs.spec
- release 2 (by relup.sh)
[packages/baculafs.git] / baculafs.spec
index 8b46f96f5a7299cc47dbb626bfd8f0e1542a6740..a42584a8fa1aafe543689475c88dec267f2c39a2 100644 (file)
@@ -2,12 +2,13 @@
 Summary:       Exposes the Bacula catalog and storage as a Filesystem in USErspace
 Name:          baculafs
 Version:       0.1.7
-Release:       1
+Release:       2
 License:       GPL v3+
 Group:         Networking/Utilities
 Source0:       https://pypi.python.org/packages/source/B/BaculaFS/%{pypi_name}-%{version}.tar.gz
 # Source0-md5: 50dcca4d11eeaa98fe0382dfd58243db
 URL:           https://code.google.com/p/baculafs/
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: python >= 1:2.6.6
 BuildRequires: python-fuse >= 0.2.1
 BuildRequires: python-pexpect >= 2.3
@@ -45,14 +46,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.129303 seconds and 4 git commands to generate.