]> git.pld-linux.org Git - packages/meld.git/commitdiff
use new %py_* macros auto/th/meld-3.15.1-2
authorJan Palus <atler@pld-linux.org>
Thu, 17 Dec 2015 20:18:25 +0000 (21:18 +0100)
committerJan Palus <atler@pld-linux.org>
Thu, 17 Dec 2015 20:18:25 +0000 (21:18 +0100)
meld.spec

index 2e0cc25a9265dce055f94ba7ced27b95dd50bb40..c716c98b81f7ef28a22b2e6005fa209bfa3514a6 100644 (file)
--- a/meld.spec
+++ b/meld.spec
@@ -5,7 +5,7 @@ Summary:        Visual diff and merge tool
 Summary(pl.UTF-8):     Wizualne narzędzie do oglądania i włączania zmian (diff)
 Name:          meld
 Version:       3.15.1
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Text
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/meld/3.15/%{name}-%{version}.tar.xz
@@ -17,7 +17,7 @@ BuildRequires:        itstool
 BuildRequires: python-modules >= 2.7
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(find_lang) >= 1.23
-BuildRequires: rpmbuild(macros) >= 1.197
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 Requires(post,postun): desktop-file-utils
@@ -58,18 +58,13 @@ zakładkami, pozwalający na otwieranie wielu plików diff naraz.
 %patch0 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 # NOTE: --skip-build breaks install
-%{__python} setup.py \
-       --no-compile-schemas \
-       --no-update-icon-cache \
-       install \
-        --optimize=2 \
-        --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
This page took 0.122728 seconds and 4 git commands to generate.