"file /etc/ssl/certs/ca-certificates.crt conflicts between attempted installs of ca-certificates-
20210119-3.noarch and ca-certificates-
20210119-3.noarch"
on systems which got an update to ca-certificates-
20180409-3 upgrade
may fail under rpm4 with above error. the reason being incomplete
migration from /etc/ssl/certs being a symlink (
20180409-3
f1df9d4) to
becoming a directory (
20180409-4
0923a3c). drop symlink in %pretrans.
Name: ca-certificates
%define ver_date 20210119
Version: %{ver_date}
-Release: 3
+Release: 4
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
%postun update
/usr/bin/find "%{openssldir}" -xtype l -delete || :
+%pretrans
+if [ -L /etc/ssl/certs ]; then
+ rm -f /etc/ssl/certs
+fi
+
%files
%defattr(644,root,root,755)
%doc work/debian/{README.Debian,changelog}