Updated spec to use recent macros

Added needed BR: python3
This commit is contained in:
Björn Esser 2017-01-02 13:25:11 +01:00
parent e1a3f5096b
commit 2d56a72571

View File

@ -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 <bjoern.esser@gmail.com> - 3.72-2
- Updated spec to use recent macros
- Added needed BR: python3
* Mon Dec 12 2016 Parag Nemade <pnemade AT redhat DOT com> - 3.72-1
- Update to 3.72