- use /etc/certs/ca-certificates.crt for for ca bundle path; rel 4 auto/th/ca-certificates-20080809-4
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 9 Nov 2008 18:23:10 +0000 (18:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ca-certificates.spec -> 1.16

ca-certificates.spec

index 447ae486fca5be835c6f9dd7981efe803404a297..5c22dd148635c5d388918ede85ba9ad638ba694b 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Common CA Certificates PEM files
 Summary(pl.UTF-8):     Pliki PEM popularnych certyfikatów CA
 Name:          ca-certificates
 Version:       20080809
-Release:       3
+Release:       4
 License:       distributable
 Group:         Libraries
 Source0:       ftp://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.gz
@@ -46,6 +46,8 @@ Obsoletes:    certificates
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                certsdir        /etc/certs
+
 %description
 Common CA Certificates PEM files.
 
@@ -102,7 +104,7 @@ rm mozilla/{Thawte,thawte,Certum}*.crt
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sbindir},/etc/openssl}
+install -d $RPM_BUILD_ROOT{%{_datadir}/%{name},%{_sbindir},%{certsdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
@@ -115,7 +117,7 @@ find . -name '*.crt' | sort | cut -b3-
 (
 cd $RPM_BUILD_ROOT%{_datadir}/ca-certificates
 find . -name '*.crt' -print0 | xargs -0 cat
-) > $RPM_BUILD_ROOT%{_sysconfdir}/openssl/ca-certificates.crt
+) > $RPM_BUILD_ROOT%{certsdir}/ca-certificates.crt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -125,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) /etc/openssl/ca-certificates.crt
+%config(noreplace) %verify(not md5 mtime size) %{certsdir}/ca-certificates.crt
 
 %files update
 %defattr(644,root,root,755)
This page took 0.035887 seconds and 4 git commands to generate.