diff --git a/nfs-utils-2.3.1-no-rpcgen.patch b/nfs-utils-2.3.1-no-rpcgen.patch new file mode 100644 index 0000000..ead0586 --- /dev/null +++ b/nfs-utils-2.3.1-no-rpcgen.patch @@ -0,0 +1,16 @@ +diff -up nfs-utils-2.3.1/tools/Makefile.am.orig nfs-utils-2.3.1/tools/Makefile.am +--- nfs-utils-2.3.1/tools/Makefile.am.orig 2017-12-20 10:40:36.000000000 -0500 ++++ nfs-utils-2.3.1/tools/Makefile.am 2018-05-16 08:08:13.829718208 -0400 +@@ -1,11 +1,5 @@ + ## Process this file with automake to produce Makefile.in + +-OPTDIRS = +- +-if CONFIG_RPCGEN +-OPTDIRS += rpcgen +-endif +- +-SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat $(OPTDIRS) ++SUBDIRS = locktest rpcdebug nlmtest mountstats nfs-iostat + + MAINTAINERCLEANFILES = Makefile.in diff --git a/nfs-utils.spec b/nfs-utils.spec index 131e303..a081a3f 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -24,6 +24,7 @@ Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch Patch102: nfs-utils-1.2.5-idmap-errmsg.patch Patch103: nfs-utils-2.1.1-nfs-config.patch Patch104: nfs-utils-2.3.1-systemd-gssproxy-restart.patch +Patch105: nfs-utils-2.3.1-no-rpcgen.patch Provides: exportfs = %{epoch}:%{version}-%{release} Provides: nfsstat = %{epoch}:%{version}-%{release} @@ -312,6 +313,7 @@ fi %changelog * Tue May 15 2018 Zbigniew Jedrzejewski-Szmek 2.3.1-9.rc1 - Only try to create nfsnobody if the uid/gid are not found (bz 1488897) +- Turn off the building of rpcgen * Thu May 3 2018 Steve Dickson 2.3.1-8.rc1 - nfsd: Set default minor versions (bz 1570066)