[packages/virt-manager] - fix python macros - rel 3

baggins baggins at pld-linux.org
Tue May 3 08:21:44 CEST 2016


commit 2519eafb9b69f235ae6652602cd0e20d0bae4378
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue May 3 08:21:31 2016 +0200

    - fix python macros
    - rel 3

 virt-manager.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/virt-manager.spec b/virt-manager.spec
index d4a3c4b..a824945 100644
--- a/virt-manager.spec
+++ b/virt-manager.spec
@@ -2,7 +2,7 @@ Summary:	Virtual Machine Manager
 Summary(pl.UTF-8):	Zarządca maszyn wirtualnych
 Name:		virt-manager
 Version:	1.2.1
-Release:	2
+Release:	3
 Epoch:		1
 License:	GPL v2+
 Group:		Applications/Emulators
@@ -84,17 +84,16 @@ virt-clone (klonujący istniejącą maszynę wirtualną).
 
 %build
 %{__python} setup.py configure \
+	--prefix=%{_prefix} \
 	--libvirt-package-names=libvirt \
 	--kvm-package-names=qemu-lvm
 
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/virt-manager.git/commitdiff/2519eafb9b69f235ae6652602cd0e20d0bae4378



More information about the pld-cvs-commit mailing list