Name: ca-certificates
%define ver_date 20180409
Version: %{ver_date}
-Release: 1
+Release: 2
License: GPL v2 (scripts), MPL v2 (mozilla certs), distributable (other certs)
Group: Base
Source0: http://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.xz
Patch5: %{name}-DESTDIR.patch
Patch6: %{name}.d.patch
+Patch7: no-openssl-rehash.patch
URL: https://packages.debian.org/sid/ca-certificates
BuildRequires: openssl-tools
BuildRequires: python >= 1:2.6
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%{__sed} -i -e 's,@openssldir@,%{openssldir},' sbin/update-ca-certificates*
--- /dev/null
+--- ca-certificates/sbin/update-ca-certificates~ 2018-04-13 22:08:15.000000000 +0200
++++ ca-certificates/sbin/update-ca-certificates 2018-04-13 22:30:21.837942256 +0200
+@@ -185,9 +185,9 @@
+ # only run if set of files has changed
+ if [ "$verbose" = 0 ]
+ then
+- openssl rehash . > /dev/null
++ c_rehash.sh . > /dev/null
+ else
+- openssl rehash .
++ c_rehash.sh .
+ fi
+ fi
+