From: Jacek Konieczny Date: Sat, 12 Jan 2019 12:08:48 +0000 (+0100) Subject: Include Debian-compatible /etc/ssl/certs symlink X-Git-Tag: auto/th/ca-certificates-20180409-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fca-certificates.git;a=commitdiff_plain;h=f1df9d4 Include Debian-compatible /etc/ssl/certs symlink That is required for proper operation of the Steam client Release: 3 --- 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