diff --git a/ca-certificates.spec b/ca-certificates.spec index 697ca59..b5af3c2 100644 --- a/ca-certificates.spec +++ b/ca-certificates.spec @@ -1,6 +1,6 @@ Name: ca-certificates Version: 20140325 -Release: 1mamba +Release: 2mamba Summary: The Mozilla CA root certificate bundle Group: System/Tools Vendor: openmamba @@ -52,7 +52,9 @@ ln -s ../../../ssl/certs/ca-certificates.crt %{buildroot}%{_sysconfdir}/pki/tls/ ln -s certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/pki/tls/cert.pem %post +if [ $1 -ge 1 ]; then %{_sbindir}/update-ca-certificates --fresh >/dev/null 2>&1 +fi : %clean @@ -61,6 +63,8 @@ ln -s certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/pki/tls/cert.pem %files %defattr(-,root,root) %config %{_sysconfdir}/ca-certificates.conf +%dir %{_sysconfdir}/ca-certificates +%dir %{_sysconfdir}/ca-certificates/update.d %dir %{_sysconfdir}/pki/tls %{_sysconfdir}/pki/tls/cert.pem %dir %{_sysconfdir}/pki/tls/certs @@ -79,6 +83,9 @@ ln -s certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/pki/tls/cert.pem %{_mandir}/man8/update-ca-certificates.8* %changelog +* Sun May 25 2014 Silvan Calarco 20140325-2mamba +- provide required directory /etc/ca-certificates/update.d + * Sun Apr 13 2014 Silvan Calarco 20140325-1mamba - update to 20140325