commit ff1fbf5cbdde491aa4f47193f2718cf6ff91a3b1
Author: Adam Gołębiowski <[email protected]>
Date:   Tue Feb 5 20:02:14 2019 +0100

    - updated to 2.1fb49, use py_build/py_install macros

 targetcli-fb.spec | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/targetcli-fb.spec b/targetcli-fb.spec
index 171e0c7..04253f7 100644
--- a/targetcli-fb.spec
+++ b/targetcli-fb.spec
@@ -1,12 +1,12 @@
 Summary:       Command shell for managing Linux LIO kernel target
 Name:          targetcli-fb
-Version:       2.1.fb37
+Version:       2.1.fb49
 Release:       1
 License:       Apache v2.0
 Group:         Applications/System
 URL:           https://github.com/agrover/targetcli-fb
 Source0:       
https://codeload.github.com/agrover/targetcli-fb/tar.gz/v%{version}
-# Source0-md5: c9e856d0b434650aa82f0271f1e21f6c
+# Source0-md5: 416eeda8f7ddeb7f00fe98dc1a6245b3
 Source1:       targetcli.service
 Source2:       targetcli.init
 BuildRequires: rpmbuild(macros) >= 1.647
@@ -25,18 +25,14 @@ generic SCSI target, present in 3.x Linux kernel versions.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_mandir}/man8,/etc/target/backup} \
        $RPM_BUILD_ROOT{%{systemdunitdir},/etc/rc.d/init.d}
 
-%{__python} setup.py \
-       install --skip-build \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
-
+%py_install
 %py_postclean
 
 install targetcli.8 $RPM_BUILD_ROOT%{_mandir}/man8/
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/targetcli-fb.git/commitdiff/ff1fbf5cbdde491aa4f47193f2718cf6ff91a3b1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to