[packages/ca-certificates] Include Debian-compatible /etc/ssl/certs symlink

jajcus jajcus at pld-linux.org
Sat Jan 12 13:10:25 CET 2019


commit f1df9d4810de1dfc9221c7238f128330eba0f04a
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Jan 12 13:08:48 2019 +0100

    Include Debian-compatible /etc/ssl/certs symlink
    
    That is required for proper operation of the Steam client
    
    Release: 3

 ca-certificates.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/ca-certificates.spec b/ca-certificates.spec
index 89cf46b..939e642 100644
--- a/ca-certificates.spec
+++ b/ca-certificates.spec
@@ -14,7 +14,7 @@ Summary(pl.UTF-8):	Pliki PEM popularnych certyfikatów CA
 Name:		ca-certificates
 %define	ver_date	20180409
 Version:	%{ver_date}
-Release:	2
+Release:	3
 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
@@ -243,6 +243,11 @@ fi
 cd ..
 %endif
 
+# The Debian path might be hard-coded in some binaries we cannot fix
+# like the Steam client
+install -d $RPM_BUILD_ROOT/etc/ssl
+ln -s %{certsdir} $RPM_BUILD_ROOT/etc/ssl/certs
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -254,6 +259,8 @@ rm -rf $RPM_BUILD_ROOT
 %doc debian/README.Debian debian/changelog
 %dir /etc/pki/tls
 %dir /etc/pki/tls/certs
+%dir /etc/ssl
+/etc/ssl/certs
 %config(noreplace) %verify(not md5 mtime size) /etc/pki/tls/certs/ca-bundle.crt
 %config(noreplace) %verify(not md5 mtime size) %{certsdir}/ca-certificates.crt
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ca-certificates.git/commitdiff/f1df9d4810de1dfc9221c7238f128330eba0f04a



More information about the pld-cvs-commit mailing list