[pesign] Include test keys.

Peter Jones pjones at fedoraproject.org
Wed Aug 8 13:39:41 UTC 2012


commit ca4b4351904c4b210093828989acadf2a9327ca5
Author: Peter Jones <pjones at redhat.com>
Date:   Wed Aug 8 09:39:35 2012 -0400

    Include test keys.

 .gitignore  |    1 +
 pesign.spec |   12 +++++++++---
 sources     |    1 +
 3 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f4ceb4e..4ed1124 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /pesign-*.tar.bz2
 clog
+/rh-test-certs.tar.bz2
diff --git a/pesign.spec b/pesign.spec
index 4338850..f39823f 100644
--- a/pesign.spec
+++ b/pesign.spec
@@ -1,7 +1,7 @@
 Summary: Signing utility for UEFI binaries
 Name: pesign
 Version: 0.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/System
 License: GPLv2
 URL: https://github.com/vathpela/pesign
@@ -13,14 +13,15 @@ ExclusiveArch: i686 x86_64 ia64
 # there is no tarball at github, of course.  To get this version do:
 # git clone https://github.com/vathpela/pesign.git
 # git checkout %%{version}
-Source: pesign-%{version}.tar.bz2
+Source0: pesign-%{version}.tar.bz2
+Source1: rh-test-certs.tar.bz2
 
 %description
 This package contains the pesign utility for signing UEFI binaries as
 well as other associated tools.
 
 %prep
-%setup -q
+%setup -q -a 1
 git init
 git config user.email "pesign-owner at fedoraproject.org"
 git config user.name "Fedora Ninjas"
@@ -38,6 +39,7 @@ make PREFIX=%{_prefix} LIBDIR=%{_libdir} INSTALLROOT=%{buildroot} install
 
 # there's some stuff that's not really meant to be shipped yet
 rm -rf %{buildroot}/boot %{buildroot}/usr/include %{buildroot}%{_libdir}
+mv rh-test-certs/etc/pki/pesign/* %{buildroot}/etc/pki/pesign/
 
 %clean
 rm -rf %{buildroot}
@@ -49,8 +51,12 @@ rm -rf %{buildroot}
 %{_sysconfdir}/popt.d/pesign.popt
 %{_mandir}/man*/*
 %attr(0700,root,root) /etc/pki/pesign
+%attr(0600,root,root) /etc/pki/pesign/*
 
 %changelog
+* Wed Aug 08 2012 Peter Jones <pjones at redhat.com> - 0.7-2
+- Include test keys.
+
 * Mon Jul 30 2012 Peter Jones <pjones at redhat.com> - 0.7-1
 - Update to 0.7
 - Better fix for MS compatibility.
diff --git a/sources b/sources
index 1ddd0de..a91d320 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 7486002bc9efdbf7e838d1270b20de5c  pesign-0.7.tar.bz2
+328db7cb27847cb610b7cf8f9c470455  rh-test-certs.tar.bz2


More information about the scm-commits mailing list