forked from pool/pesign-obs-integration
Accepting request 249602 from Base:System
-> OBS-URL: https://build.opensuse.org/request/show/249602 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pesign-obs-integration?expand=0&rev=18
This commit is contained in:
commit
870777a55d
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user