Blame SOURCES/quota-4.04-Install-rquota-3-only-if-RPC-is-enabled.patch

273bc0
From b5ed9878d60bf2c6764ce8e1de4f69e64c4bdfaf Mon Sep 17 00:00:00 2001
273bc0
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
273bc0
Date: Wed, 6 Sep 2017 16:25:09 +0200
273bc0
Subject: [PATCH] Install rquota(3) only if RPC is enabled
273bc0
MIME-Version: 1.0
273bc0
Content-Type: text/plain; charset=UTF-8
273bc0
Content-Transfer-Encoding: 8bit
273bc0
273bc0
rquote(3) documents rpcsvc header files. Thus it should be installed
273bc0
only if the the header files are installed and that is only if RPC
273bc0
configure feature is enabled.
273bc0
273bc0
Signed-off-by: Petr Písař <ppisar@redhat.com>
273bc0
---
273bc0
 Makefile.am | 6 ++++--
273bc0
 1 file changed, 4 insertions(+), 2 deletions(-)
273bc0
273bc0
diff --git a/Makefile.am b/Makefile.am
273bc0
index 8d80bee..9b852d2 100644
273bc0
--- a/Makefile.am
273bc0
+++ b/Makefile.am
273bc0
@@ -27,7 +27,6 @@ man_MANS = \
273bc0
 	quota.1 \
273bc0
 	quot.8 \
273bc0
 	repquota.8 \
273bc0
-	rquota.3 \
273bc0
 	setquota.8 \
273bc0
 	warnquota.conf.5 \
273bc0
 	warnquota.8 \
273bc0
@@ -69,7 +68,10 @@ librpcclient_a_CFLAGS = -Wno-unused
273bc0
 RPCLIBS = librpcclient.a
273bc0
 BUILT_SOURCES = rquota.h rquota.c rquota_clnt.c
273bc0
 CLEANFILES = rquota.c rquota.h rquota_clnt.c
273bc0
-man_MANS += rpc.rquotad.8
273bc0
+man_MANS += \
273bc0
+	rpc.rquotad.8 \
273bc0
+	rquota.3
273bc0
+
273bc0
 endif
273bc0
 
273bc0
 libquota_a_SOURCES = \
273bc0
-- 
273bc0
2.13.5
273bc0