[libtirpc] Fixed the install path in doc/Makefile.am

Steve Dickson steved at fedoraproject.org
Mon Mar 19 20:08:44 UTC 2012


commit 09cd081d59cef5014e1ca0c55d35b10c119fc671
Author: Steve Dickson <steved at redhat.com>
Date:   Mon Mar 19 16:07:16 2012 -0400

    Fixed the install path in doc/Makefile.am
    
    Signed-off-by: Steve Dickson <steved at redhat.com>

 libtirpc-0.2.2-doc-Makefile.patch |   21 +++++++++++++++++++++
 libtirpc.spec                     |    7 ++++++-
 2 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/libtirpc-0.2.2-doc-Makefile.patch b/libtirpc-0.2.2-doc-Makefile.patch
new file mode 100644
index 0000000..73dcc61
--- /dev/null
+++ b/libtirpc-0.2.2-doc-Makefile.patch
@@ -0,0 +1,21 @@
+commit 9a00d8b6adef347619ab13b15303b523d78ca02f
+Author: Peter Simons <simons at cryp.to>
+Date:   Mon Mar 19 15:54:54 2012 -0400
+
+    Makefile.am: install target in doc/Makefile.am doesn't honor sysconfdir
+    
+    Signed-off-by: Steve Dickson <steved at redhat.com>
+
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index cc4fa76..f8c88b5 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -1,5 +1,5 @@
+ 
+ install: install-am
+-	$(mkinstalldirs) $(DESTDIR)/etc
+-	cp -p ./etc_netconfig $(DESTDIR)/etc/netconfig
+-	chmod 0644 $(DESTDIR)/etc/netconfig
++	$(mkinstalldirs) $(DESTDIR)/$(sysconfdir)
++	cp -p ./etc_netconfig $(DESTDIR)/$(sysconfdir)/netconfig
++	chmod 0644 $(DESTDIR)/$(sysconfdir)/netconfig
diff --git a/libtirpc.spec b/libtirpc.spec
index 99114ff..05268b7 100644
--- a/libtirpc.spec
+++ b/libtirpc.spec
@@ -2,7 +2,7 @@
 
 Name:		   libtirpc
 Version:		0.2.2
-Release:		2.1%{?dist}
+Release:		31%{?dist}
 Summary:		Transport Independent RPC Library
 Group:		  	System Environment/Libraries
 License:		SISSL and BSD
@@ -13,6 +13,7 @@ Source0:	http://downloads.sourceforge.net/libtirpc/libtirpc-%{version}.tar.bz2
 
 Patch001: libtirpc-0.2.3-rc1.patch
 Patch002: libtirpc-0.2.2-wrap-segfault.patch
+Patch003: libtirpc-0.2.2-doc-Makefile.patch
 
 BuildRequires:		automake, autoconf, libtool, pkgconfig
 BuildRequires:		libgssglue-devel
@@ -45,6 +46,7 @@ developing programs which use the tirpc library.
 
 %patch001 -p1
 %patch002 -p1
+%patch003 -p1
 
 # Remove .orig files
 find . -name "*.orig" | xargs rm -f
@@ -133,6 +135,9 @@ rm -rf %{buildroot}
 %{_mandir}/*/*
 
 %changelog
+* Mon Mar 19 2012 Steve Dickson <steved at redhat.com> 0.2.1-3
+- Fixed the install path in doc/Makefile.am
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.2-2.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list