!54 [sync] PR-52: hardcode libxml2 version as what was used for building

From: @openeuler-sync-bot 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
This commit is contained in:
openeuler-ci-bot 2025-03-27 11:41:55 +00:00 committed by Gitee
commit 10000abda7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: perl-XML-LibXML
Version: 2.0209
Release: 1
Release: 2
Epoch: 1
Summary: Perl Binding for libxml2
License: (GPL+ or Artistic) and MIT
@ -20,6 +20,7 @@ BuildRequires: perl(XML::SAX::ParserFactory), perl(URI::file), perl(utf8), perl
BuildRequires: perl(Alien::Libxml2)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)), perl-interpreter
Requires: libxml2 >= %(rpm -q --queryformat="%%{VERSION}" libxml2)
Requires(preun): perl-interpreter
Provides: perl-XML-LibXML-Common = %{version}
Obsoletes: perl-XML-LibXML-Common <= 0.13
@ -82,6 +83,9 @@ fi
%{_mandir}/man*/*
%changelog
* Thu Mar 27 2025 Funda Wang <fundawang@yeah.net> - 1:2.0209-2
- hardcode libxml2 version as what was used for building
* Thu Aug 10 2023 liyanan <thistleslyn@163.com> - 1:2.0209-1
- Update to 2.0209