Resolves: RHEL-46910 - Fix xmllint error for iso_3166-2.xml file

This commit is contained in:
Parag Nemade 2024-07-15 14:43:10 +05:30
parent cc9b9d3bc9
commit 7a51916e3b
No known key found for this signature in database
GPG Key ID: 71932951EB71E972

View File

@ -1,7 +1,7 @@
Name: iso-codes
Summary: ISO code lists and translations
Version: 4.16.0
Release: 4%{?dist}
Release: 5%{?dist}
License: LGPL-2.1-or-later
URL: https://salsa.debian.org/iso-codes-team/iso-codes
Source0: https://salsa.debian.org/iso-codes-team/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.gz
@ -30,6 +30,10 @@ when building programs that use %{name}.
%prep
%autosetup -n %{name}-v%{version}
# The '&' character is not getting parsed using xmllint
# Change it to "and" word
sed -i 's/ & / and /g' data/iso_3166-2.json
%build
%configure
%make_build
@ -50,6 +54,9 @@ when building programs that use %{name}.
%{_datadir}/pkgconfig/iso-codes.pc
%changelog
* Fri Jul 12 2024 Parag Nemade <pnemade AT redhat DOT com> - 4.16.0-5
- Resolves: RHEL-46910 - Fix xmllint error for iso_3166-2.xml file
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.16.0-4
- Bump release for June 2024 mass rebuild