From 7b9ffdb16ce6f9d358474c4919771bbbb5630349 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Mon, 7 Oct 2024 22:01:25 +0800 Subject: [PATCH] add libxml2 versioned requires --- libxslt.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libxslt.spec b/libxslt.spec index 3d55b50..75321ee 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -1,6 +1,6 @@ Name: libxslt Version: 1.1.42 -Release: 2 +Release: 3 Summary: XSLT Transformation Library License: MIT URL: https://gitlab.gnome.org/GNOME/libxslt @@ -10,6 +10,7 @@ Patch0: CVE-2015-9019.patch BuildRequires: gcc make libtool autoconf automake libgcrypt-devel pkgconfig(libxml-2.0) >= 2.6.27 cmake-rpm-macros Provides: xsltproc = %{version}-%{release} +Requires: libxml2 >= %(rpm -q --queryformat="%%{VERSION}" libxml2) %description Libxslt is the XSLT C library developed for the GNOME project @@ -92,6 +93,9 @@ pushd $RPM_BUILD_ROOT/%{_includedir}/%{name}; touch -m --reference=xslt.h ../../ %exclude %{_docdir}/../licenses/libxslt/Copyright %changelog +* Mon Oct 07 2024 Funda Wang - 1.1.42-3 +- add libxml2 versioned requires + * Fri Aug 09 2024 Funda Wang - 1.1.42-2 - Cleanup spec -- Gitee