commit 2011ac05866b6e3e88d39d017ab76a8127563e9f
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Jan 22 17:15:22 2016 +0200

    build with new python macros

 skyperious.spec | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/skyperious.spec b/skyperious.spec
index 6cac20e..ac0edcf 100644
--- a/skyperious.spec
+++ b/skyperious.spec
@@ -1,7 +1,7 @@
 Summary:       Skype SQLite database viewer and merger
 Name:          skyperious
 Version:       3.5
-Release:       0.1
+Release:       0.2
 License:       MIT
 Group:         Applications/Databases
 Source0:       
https://github.com/suurjaak/Skyperious/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -9,7 +9,7 @@ Source0:        
https://github.com/suurjaak/Skyperious/archive/v%{version}/%{name}-%{ve
 Patch0:                desktop.patch
 URL:           https://github.com/suurjaak/Skyperious
 BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: rpmbuild(macros) >= 1.713
 Requires:      desktop-file-utils
 Requires:      python(sqlite)
 Requires:      python-PIL
@@ -43,15 +43,11 @@ You can open local Skype SQLite databases and look at their 
contents:
 %patch0 -p1
 
 %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
 
 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/skyperious.git/commitdiff/2011ac05866b6e3e88d39d017ab76a8127563e9f

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

Reply via email to