diff --git a/libxslt.spec b/libxslt.spec index 2433c193714c274678261b5317ae5cc4352c8ee6..3d55b5095310602992824061aedbf089b94e234f 100644 --- a/libxslt.spec +++ b/libxslt.spec @@ -1,6 +1,6 @@ Name: libxslt Version: 1.1.42 -Release: 1 +Release: 2 Summary: XSLT Transformation Library License: MIT URL: https://gitlab.gnome.org/GNOME/libxslt @@ -8,7 +8,8 @@ Source0: https://download.gnome.org/sources/%{name}/1.1/%{name}-%{version}.tar. # PATCH-FIX-UPSTREAM bug-fix https://github.com/GNOME/libxslt/ Patch0: CVE-2015-9019.patch -BuildRequires: gcc make libtool autoconf automake libgcrypt-devel pkgconfig(libxml-2.0) >= 2.6.27 +BuildRequires: gcc make libtool autoconf automake libgcrypt-devel pkgconfig(libxml-2.0) >= 2.6.27 cmake-rpm-macros +Provides: xsltproc = %{version}-%{release} %description Libxslt is the XSLT C library developed for the GNOME project @@ -16,7 +17,6 @@ Libxslt is the XSLT C library developed for the GNOME project %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} -Requires: libgcrypt-devel libgpg-error-devel %description devel %{name} allows you to transform XML files into other XML files @@ -28,7 +28,6 @@ Summary:Python 3 bindings for %{name} BuildRequires: python3-devel python3-libxml2 Requires: %{name} = %{version}-%{release} Requires: python3-libxml2 >= 2.6.27 -Requires: libxml2 >= 2.6.27 %{?python_provide:%python_provide python3-%{name}} %description -n python3-libxslt @@ -60,13 +59,7 @@ pushd $RPM_BUILD_ROOT/%{_includedir}/%{name}; touch -m --reference=xslt.h ../../ %check %make_build tests -%post -/sbin/ldconfig -%postun -/sbin/ldconfig - %files -%defattr(-,root,root) %doc NEWS README.md FEATURES AUTHORS %license Copyright %{_bindir}/xsltproc @@ -79,8 +72,8 @@ pushd $RPM_BUILD_ROOT/%{_includedir}/%{name}; touch -m --reference=xslt.h ../../ %{_libdir}/libxslt.so %{_libdir}/libexslt.so %{_libdir}/xsltConf.sh -%{_libdir}/cmake/libxslt/ -%{_datadir}/gtk-doc/ +%{_libdir}/cmake/libxslt +%{_datadir}/gtk-doc/* %{_includedir}/libxslt/ %{_includedir}/libexslt/ %{_libdir}/pkgconfig/libxslt.pc @@ -99,6 +92,9 @@ pushd $RPM_BUILD_ROOT/%{_includedir}/%{name}; touch -m --reference=xslt.h ../../ %exclude %{_docdir}/../licenses/libxslt/Copyright %changelog +* Fri Aug 09 2024 Funda Wang - 1.1.42-2 +- Cleanup spec + * Mon Aug 5 2024 dillon chen - 1.1.42-1 - Type:enhancement - ID:NA