[pesign] Fix some rpmlint complaints nirik pointed out

Peter Jones pjones at fedoraproject.org
Thu Jun 21 13:33:14 UTC 2012


commit d6e5c968adae2b1cab1b4b102d178a10ec54db1b
Author: Peter Jones <pjones at redhat.com>
Date:   Thu Jun 21 09:33:06 2012 -0400

    Fix some rpmlint complaints nirik pointed out
    
    - Add popt-devel build dep

 .gitignore  |    1 +
 pesign.spec |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f53c9be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pesign-*.tar.bz2
diff --git a/pesign.spec b/pesign.spec
new file mode 100644
index 0000000..752f952
--- /dev/null
+++ b/pesign.spec
@@ -0,0 +1,57 @@
+Summary: Signing utility for UEFI binaries
+Name: pesign
+Version: 0.2
+Release: 1%{?dist}
+Group: Development/System
+License: GPLv2
+URL: https://github.com/vathpela/pesign
+# 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
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: git gnu-efi nspr nspr-devel nss nss-devel nss-util popt-devel
+Requires: nspr nss nss-util popt
+
+%description
+This package contains the pesign utility for signing UEFI binaries as
+well as other associated tools.
+
+%prep
+%setup -q
+git init
+git config user.email "pesign-owner at fedoraproject.org"
+git config user.name "Fedora Ninjas"
+git add .
+git commit -a -q -m "%{version} baseline."
+git am %{patches} </dev/null
+
+%build
+make
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/%{_libdir}
+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}/usr/lib64
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README TODO COPYING
+%{_bindir}/pesign
+%{_sysconfdir}/popt.d/pesign.popt
+%attr(0700,root,root) /etc/pki/pesign
+
+%changelog
+* Thu Jun 21 2012 Peter Jones <pjones at redhat.com> - 0.2-1
+- Fix some rpmlint complaints nirik pointed out
+- Add popt-devel build dep
+
+* Fri Jun 15 2012 Peter Jones <pjones at redhat.com> - 0.1-1
+- First version of SRPM.
+
diff --git a/sources b/sources
index e69de29..ae50bad 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+38c5fd938fb1ffda1e306e035b0435e2  pesign-0.2.tar.bz2


More information about the scm-commits mailing list