1
0
Stephan Kulow 2014-09-17 19:23:45 +00:00 committed by Git OBS Bridge
commit 870777a55d
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 16 17:08:36 CEST 2014 - mls@suse.de
- fall back to project cert in the followup spec if it
exists
-------------------------------------------------------------------
Wed Sep 3 01:48:48 CEST 2014 - ro@suse.de

View File

@ -90,6 +90,9 @@ cpio -idm <%_sourcedir/@NAME@.cpio.rsasign.sig
cat >cert.crt <<EOF
@CERT@
EOF
if test "$(wc -l <cert.crt)" -le 1 -a -s %_sourcedir/_projectcert.crt ; then
cp %_sourcedir/_projectcert.crt cert.crt
fi
if test "$(wc -l <cert.crt)" -gt 1; then
openssl x509 -inform PEM -in cert.crt -outform DER -out cert.x509
cert=cert.x509