diff --git a/iso-codes.spec b/iso-codes.spec index 6203f2c..f85f39b 100644 --- a/iso-codes.spec +++ b/iso-codes.spec @@ -1,12 +1,13 @@ Name: iso-codes Summary: ISO code lists and translations Version: 3.72 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ URL: http://alioth.debian.org/projects/pkg-isocodes/ Source0: http://pkg-isocodes.alioth.debian.org/downloads/iso-codes-%{version}.tar.xz BuildRequires: gettext +BuildRequires: python3 BuildArch: noarch # for /usr/share/xml @@ -26,18 +27,18 @@ This package contains the pkg-config files for development when building programs that use %{name}. %prep -%setup -q +%autosetup %build %configure -make %{_smp_mflags} +%make_build %install -%make_install INSTALL="install -p" +%make_install INSTALL="%{__install} -p" -%find_lang iso-codes --all-name +%find_lang %{name} --all-name -%files -f iso-codes.lang +%files -f %{name}.lang %doc ChangeLog README.md %license COPYING %dir %{_datadir}/xml/iso-codes @@ -48,6 +49,10 @@ make %{_smp_mflags} %{_datadir}/pkgconfig/iso-codes.pc %changelog +* Mon Jan 02 2017 Björn Esser - 3.72-2 +- Updated spec to use recent macros +- Added needed BR: python3 + * Mon Dec 12 2016 Parag Nemade - 3.72-1 - Update to 3.72