run update-ca-certificates in %posttrans script to maybe fix failure in makedist builds [release 20141019-2mamba;Mon Mar 09 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 21:03:13 +01:00
parent 4a522cfdf3
commit b7ba789583

View File

@ -1,6 +1,6 @@
Name: ca-certificates Name: ca-certificates
Version: 20141019 Version: 20141019
Release: 1mamba Release: 2mamba
Summary: The Mozilla CA root certificate bundle Summary: The Mozilla CA root certificate bundle
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
@ -51,7 +51,7 @@ install -d -m0755 %{buildroot}%{_sysconfdir}/pki/tls/certs
ln -s ../../../ssl/certs/ca-certificates.crt %{buildroot}%{_sysconfdir}/pki/tls/certs/ca-bundle.crt ln -s ../../../ssl/certs/ca-certificates.crt %{buildroot}%{_sysconfdir}/pki/tls/certs/ca-bundle.crt
ln -s certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/pki/tls/cert.pem ln -s certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/pki/tls/cert.pem
%post %posttrans
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
%{_sbindir}/update-ca-certificates --fresh >/dev/null 2>&1 %{_sbindir}/update-ca-certificates --fresh >/dev/null 2>&1
fi fi
@ -83,6 +83,9 @@ fi
%{_mandir}/man8/update-ca-certificates.8* %{_mandir}/man8/update-ca-certificates.8*
%changelog %changelog
* Mon Mar 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20141019-2mamba
- run update-ca-certificates in %posttrans script to maybe fix failure in makedist builds
* Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 20141019-1mamba * Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 20141019-1mamba
- automatic update by autodist - automatic update by autodist