Drop direct dependency on "crypto"

This is only bad crypto and basically an abandoned feature.
Remove support for it so that libxslt does not unnecessarily drag a
whole crypto library into other processes. This is cryptography that
should not be used anymore since a long time anyway.

Signed-off-by: Simo Sorce <simo@redhat.com>
This commit is contained in:
Simo Sorce 2020-09-01 12:21:28 -04:00
parent 8e6f5d07fd
commit 92387219d0

View File

@ -1,7 +1,7 @@
Name: libxslt
Summary: Library providing the Gnome XSLT engine
Version: 1.1.34
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT
URL: http://xmlsoft.org/XSLT
@ -12,7 +12,6 @@ BuildRequires: automake
BuildRequires: libtool
BuildRequires: make
BuildRequires: gcc
BuildRequires: %{_bindir}/libgcrypt-config
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.27
# Fedora specific patches
@ -30,7 +29,6 @@ installed. The xsltproc command is a command line interface to the XSLT engine
%package devel
Summary: Development libraries and header files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libgcrypt-devel%{?_isa}
Requires: libgpg-error-devel%{?_isa}
%description devel
@ -69,7 +67,7 @@ chmod 644 python/tests/*
autoreconf -vfi
#export PYTHON=%{__python3}
#%configure --disable-static --disable-silent-rules --with-python
%configure --disable-static --disable-silent-rules --with-python=no
%configure --disable-static --disable-silent-rules --with-python=no --with-crypto=no
%make_build
%install
@ -127,6 +125,11 @@ rm -vrf %{buildroot}%{_docdir}
%endif
%changelog
* Tue Sep 1 2020 Simo Sorce <simo@redhat.com> - 1.1.34-3
- Drop crypto dependency.
- The "cryptography" implemented in exslt is outdated and bad supporting only
insecure algorithms (RC4, SHA1, MD5, MD4), and should not be used anyway.
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.34-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild