diff --git a/0001-reset-install-man-pages.patch b/0001-reset-install-man-pages.patch new file mode 100644 index 0000000..d3bad0a --- /dev/null +++ b/0001-reset-install-man-pages.patch @@ -0,0 +1,23 @@ +From f4b87765ff8cb4f2d1850c0fd6238ce1fdb1c8a4 Mon Sep 17 00:00:00 2001 +From: David Teigland +Date: Mon, 18 Aug 2014 14:17:07 -0500 +Subject: [PATCH] reset: install man pages + +Signed-off-by: David Teigland +--- + reset/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/reset/Makefile b/reset/Makefile +index 457da5e5bbfa..d67ceb3a4883 100644 +--- a/reset/Makefile ++++ b/reset/Makefile +@@ -58,3 +58,5 @@ MANDIR=/usr/share/man + install: all + $(INSTALL) -d $(DESTDIR)/$(BINDIR) + $(INSTALL) -c -m 755 $(TARGET1) $(TARGET2) $(DESTDIR)/$(BINDIR) ++ $(INSTALL) -m 644 sanlk-reset.8 $(DESTDIR)/$(MANDIR)/man8/ ++ $(INSTALL) -m 644 sanlk-resetd.8 $(DESTDIR)/$(MANDIR)/man8/ +-- +1.8.3.1 + diff --git a/sanlock.spec b/sanlock.spec index b20f736..f2eb2a5 100644 --- a/sanlock.spec +++ b/sanlock.spec @@ -35,7 +35,7 @@ Requires(postun): systemd-units %endif Source0: http://git.fedorahosted.org/cgit/sanlock.git/snapshot/%{name}-%{version}.tar.gz -#Patch0: 0001-foo.patch +Patch0: 0001-reset-install-man-pages.patch %description The sanlock daemon manages leases for applications running on a cluster @@ -43,7 +43,7 @@ of hosts with shared storage. %prep %setup -q -#%patch0 -p1 -b .0001-foo.patch +%patch0 -p1 -b .0001-reset-install-man-pages.patch %build # upstream does not require configure