diff --git a/libxslt.spec b/libxslt.spec index 3d55b5095310602992824061aedbf089b94e234f..75321eec961b57487a835f7b76e9da3792906689 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