hardcode libxml2 version as what was used for building

(cherry picked from commit bcfb8899d8a722ed007dcbf5b0ce6f7f067217ec)
This commit is contained in:
Funda Wang 2025-03-27 13:07:59 +08:00 committed by openeuler-sync-bot
parent 83cf2253c7
commit 9bb561ac30

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