import UBI expat-2.7.1-1.el10_0.3

This commit is contained in:
eabdullin 2025-11-03 17:50:05 +00:00
parent 2651e43deb
commit 627357bee0
2 changed files with 2031 additions and 3 deletions

2021
RHEL-114605.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
release_number = 3;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
@ -13,11 +13,12 @@
Summary: An XML parser library
Name: expat
Version: %(echo %{unversion} | sed 's/_/./g')
Release: %autorelease
Release: 1%{?dist}.%{autorelease -n}
Source0: https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.gz
Source1: https://github.com/libexpat/libexpat/releases/download/R_%{unversion}/expat-%{version}.tar.gz.asc
# Sebastian Pipping's PGP public key
Source2: https://keys.openpgp.org/vks/v1/by-fingerprint/3176EF7DB2367F1FCA4F306B1F9B0E909AF37285
Patch0: RHEL-114605.patch
URL: https://libexpat.github.io/
License: MIT
@ -51,7 +52,7 @@ Install it if you need to link statically with expat.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup
%autosetup -p1
sed -i 's/install-data-hook/do-nothing-please/' lib/Makefile.am
./buildconf.sh
@ -91,6 +92,12 @@ make check
%changelog
## START: Generated by rpmautospec
* Wed Oct 08 2025 RHEL Packaging Agent <jotnar@redhat.com> - 2.7.1-3
- Backport security fixes to expat
* Thu Jun 05 2025 psklenar@redhat.com <psklenar@redhat.com> - 2.7.1-2
- https://issues.redhat.com/browse/RHELMISC-13073
* Fri Mar 28 2025 Tomas Korbar <tkorbar@redhat.com> - 2.7.1-1
- Fix behavior change caused by fix for CVE-2024-8176