SPECS: ca-certificates.spec - add /etc/ca-certificates/update.d dir

glen glen at pld-linux.org
Tue Oct 28 01:14:09 CET 2008


Author: glen                         Date: Tue Oct 28 00:14:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add /etc/ca-certificates/update.d dir

---- Files affected:
SPECS:
   ca-certificates.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/ca-certificates.spec
diff -u SPECS/ca-certificates.spec:1.4 SPECS/ca-certificates.spec:1.5
--- SPECS/ca-certificates.spec:1.4	Tue Oct 28 01:10:51 2008
+++ SPECS/ca-certificates.spec	Tue Oct 28 01:14:03 2008
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# TODO
+# - get rid (or update our rc-scripts) debianized run-parts
+# - use global certs dir or sth
 Summary:	Common CA Certificates PEM files
 Summary(pl.UTF-8):	Pliki PEM popularnych certyfikatów CA
 Name:		ca-certificates
@@ -30,7 +33,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sbindir},%{_sysconfdir}/ssl/certs}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sbindir},/etc/ssl/certs,%{_sysconfdir}/ca-certificates/update.d}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -40,7 +43,7 @@
 find . -name '*.crt' | sort | cut -b3-
 ) > $RPM_BUILD_ROOT%{_sysconfdir}/ca-certificates.conf
 
-touch $RPM_BUILD_ROOT%{_sysconfdir}/ssl/certs/ca-certificates.crt
+touch $RPM_BUILD_ROOT/etc/ssl/certs/ca-certificates.crt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -50,10 +53,11 @@
 
 %files
 %defattr(644,root,root,755)
-%dir %{_sysconfdir}/ssl/certs
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssl/certs/ca-certificates.crt
+%dir /etc/ssl/certs
+%config(noreplace) %verify(not md5 mtime size) /etc/ssl/certs/ca-certificates.crt
 # remove noreplace?
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ca-certificates.conf
+%dir %{_sysconfdir}/ca-certificates/update.d
 %attr(755,root,root) %{_sbindir}/update-ca-certificates
 %{_datadir}/ca-certificates
 
@@ -63,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008/10/28 00:14:03  glen
+- add /etc/ca-certificates/update.d dir
+
 Revision 1.4  2008/10/28 00:10:51  glen
 - updated to 20080809
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ca-certificates.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list