commit abfc0336fe02e7fe4294cf0e0fbad51ba4cfb0bd
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Jan 11 10:10:16 2018 +0000
Switch to libtirpc-devel for rpc
nvidia-persistenced.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/nvidia-persistenced.spec b/nvidia-persistenced.spec
index 7c5ad41..fc4f4db 100644
--- a/nvidia-persistenced.spec
+++ b/nvidia-persistenced.spec
@@ -9,6 +9,8 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
ExclusiveArch: x86_64 i686 armv7hl aarch64 ppc64le
BuildRequires: m4
+#
https://fedoraproject.org/wiki/Changes/SunRPCRemoval
+BuildRequires: libtirpc-devel
Buildrequires: systemd
Requires(post): systemd
@@ -23,10 +25,9 @@ specifically for use by the NVIDIA Linux driver.
%prep
%setup -q
-
%build
-export CFLAGS="%{optflags}"
-export LDFLAGS="%{?__global_ldflags}"
+export CFLAGS="%{optflags} -I%{_includedir}/tirpc"
+export LDFLAGS="%{?__global_ldflags} -ltirpc"
%make_build \
NVDEBUG=1 \
NV_VERBOSE=1 \
@@ -71,6 +72,7 @@ chmod -x %{buildroot}%{_mandir}/man1/%{name}.1.*
%changelog
* Thu Jan 11 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 390.12-1
- Update to 390.12
+- Switch to libtirpc-devel for rpc
* Sat Dec 02 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 387.34-1
- Update to 387.34