[pesign] Move man page to a more reasonable place.

Peter Jones pjones at fedoraproject.org
Fri Jun 22 20:18:42 UTC 2012


commit b252c93b6224d0dedaa30ff13d83d712e02dd29c
Author: Peter Jones <pjones at redhat.com>
Date:   Fri Jun 22 16:18:39 2012 -0400

    Move man page to a more reasonable place.

 0001-Man-page-should-be-in-section-1.patch |   52 ++++++++++++++++++++++++++++
 pesign.spec                                |   15 +++++---
 2 files changed, 62 insertions(+), 5 deletions(-)
---
diff --git a/0001-Man-page-should-be-in-section-1.patch b/0001-Man-page-should-be-in-section-1.patch
new file mode 100644
index 0000000..dcc464c
--- /dev/null
+++ b/0001-Man-page-should-be-in-section-1.patch
@@ -0,0 +1,52 @@
+From 112a88329fbe7aefc33e26768c6f6367f0b32229 Mon Sep 17 00:00:00 2001
+From: Peter Jones <pjones at redhat.com>
+Date: Fri, 22 Jun 2012 16:17:26 -0400
+Subject: [PATCH] Man page should be in section 1.
+
+---
+ src/Makefile               |    4 ++--
+ src/{pesign.8 => pesign.1} |    5 ++---
+ 2 files changed, 4 insertions(+), 5 deletions(-)
+ rename src/{pesign.8 => pesign.1} (97%)
+
+diff --git a/src/Makefile b/src/Makefile
+index b3348f2..9b63942 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -31,8 +31,8 @@ install :
+ 	$(INSTALL) -d -m 755 $(INSTALLROOT)/etc/popt.d/
+ 	$(INSTALL) -m 644 pesign.popt $(INSTALLROOT)/etc/popt.d/
+ 	$(INSTALL) -d -m 700 $(INSTALLROOT)/etc/pki/pesign/
+-	$(INSTALL) -d -m 755 $(INSTALLROOT)/usr/share/man/man8/
+-	$(INSTALL) -m 644 pesign.8 $(INSTALLROOT)/usr/share/man/man8/
++	$(INSTALL) -d -m 755 $(INSTALLROOT)/usr/share/man/man1/
++	$(INSTALL) -m 644 pesign.1 $(INSTALLROOT)/usr/share/man/man1/
+ 
+ 
+ .PHONY: all clean install
+diff --git a/src/pesign.8 b/src/pesign.1
+similarity index 97%
+rename from src/pesign.8
+rename to src/pesign.1
+index f40a5a5..e43f307 100644
+--- a/src/pesign.8
++++ b/src/pesign.1
+@@ -1,4 +1,4 @@
+-.TH PESIGN 8 "Thu Jun 21 2012"
++.TH PESIGN 1 "Thu Jun 21 2012"
+ .SH NAME
+ pesign \- command line tool for signing UEFI applications
+ 
+@@ -76,8 +76,7 @@ Use ascii armoring on exported certificates.
+ 
+ 
+ .SH "SEE ALSO"
+-.BR shim (8),
+-.BR authvar (8)
++.BR authvar (1)
+ 
+ .SH AUTHORS
+ .nf
+-- 
+1.7.10.2
+
diff --git a/pesign.spec b/pesign.spec
index 92a7f4e..db605ac 100644
--- a/pesign.spec
+++ b/pesign.spec
@@ -1,17 +1,19 @@
 Summary: Signing utility for UEFI binaries
 Name: pesign
 Version: 0.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Group: Development/System
 License: GPLv2
 URL: https://github.com/vathpela/pesign
+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
+
 # 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
+Patch0:	0001-Man-page-should-be-in-section-1.patch
 
 %description
 This package contains the pesign utility for signing UEFI binaries as
@@ -45,10 +47,13 @@ rm -rf %{buildroot}
 %doc README TODO COPYING
 %{_bindir}/pesign
 %{_sysconfdir}/popt.d/pesign.popt
-%{_mandir}/man8/*.8*
+%{_mandir}/man*/*
 %attr(0700,root,root) /etc/pki/pesign
 
 %changelog
+* Fri Jun 22 2012 Peter Jones <pjones at redhat.com> - 0.3-2
+- Move man page to a more reasonable place.
+
 * Fri Jun 22 2012 Peter Jones <pjones at redhat.com> - 0.3-1
 - Update to upstream's 0.3 .
 


More information about the scm-commits mailing list