Fixed the install path in doc/Makefile.am

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2012-03-19 16:07:16 -04:00
parent 251b2405ed
commit 09cd081d59
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,21 @@
commit 9a00d8b6adef347619ab13b15303b523d78ca02f
Author: Peter Simons <simons@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@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

View File

@ -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@redhat.com> 0.2.1-3
- Fixed the install path in doc/Makefile.am
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild