From bc064199e36229ded593e4c2f4e347873232926ba6f24b67b8d13804c4723ef1 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:54:12 +0000 Subject: [PATCH] Accepting request 581208 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581208 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/intltool?expand=0&rev=39 --- intltool.changes | 5 +++++ intltool.spec | 43 +++++++++++++++++++------------------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/intltool.changes b/intltool.changes index 169666f..f30f21c 100644 --- a/intltool.changes +++ b/intltool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:33:35 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Sun Sep 24 07:18:06 UTC 2017 - coolo@suse.com diff --git a/intltool.spec b/intltool.spec index 1baf747..2090463 100644 --- a/intltool.spec +++ b/intltool.spec @@ -1,7 +1,7 @@ # # spec file for package intltool # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,24 +17,23 @@ Name: intltool -BuildRequires: perl-XML-Parser -Summary: Internationalization Tool Collection -License: GPL-2.0+ -Group: Development/Tools/Other Version: 0.51.0 Release: 0 -BuildArch: noarch -Requires: gettext-tools -Requires: perl-XML-Parser -Provides: xml-i18n-tools -Obsoletes: xml-i18n-tools -Url: https://edge.launchpad.net/intltool/ +Summary: Internationalization Tool Collection +License: GPL-2.0-or-later +Group: Development/Tools/Other +URL: https://edge.launchpad.net/intltool/ Source: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM intltool-perl-5.22.patch lp#1490906 dimstar@opensuse.org -- Fix execution with perl 5.22 Patch0: intltool-perl-5.22.patch # PATCH-FIX-UPSTREAM fixrace.patch lp#1687644 boo#1021335 Patch1: fixrace.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl-XML-Parser +Requires: gettext-tools +Requires: perl-XML-Parser +Provides: xml-i18n-tools +Obsoletes: xml-i18n-tools +BuildArch: noarch %description Some scripts to support translators working on GNOME and similar @@ -44,32 +43,28 @@ information is written back into the XML files. %prep %setup -q -%patch0 -p0 +%patch0 %patch1 -p1 %build %configure -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %check -make check +make %{?_smp_mflags} check %install -%makeinstall - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install %files -%defattr(-, root, root) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%defattr(-, root, root) +%license COPYING +%doc AUTHORS ChangeLog NEWS README TODO %{_bindir}/intltool-* %{_bindir}/intltoolize %dir %{_datadir}/aclocal %{_datadir}/aclocal/intltool.m4 %{_datadir}/%{name}/ -%doc %{_mandir}/man8/intltool-*.8%{?ext_man} -%doc %{_mandir}/man8/intltoolize.8%{?ext_man} +%{_mandir}/man8/intltool-*.8%{?ext_man} +%{_mandir}/man8/intltoolize.8%{?ext_man} %changelog