From 4c40f354e6b8c948e041b8817900d1cdfa6a80d2 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Mon, 20 Feb 2017 13:29:04 +0000 Subject: [PATCH] Change buildroot macro --- xorg-x11-drv-nvidia.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec index 065c54f..3760fb4 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -388,7 +388,7 @@ install -D -p -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/nvi %if 0%{?fedora} >= 25 # install AppData and add modalias provides mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata/ -install -pm 0644 %{SOURCE12} %{buildroot}%{_datadir}/appdata/ +install -pm 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/appdata/ fn=$RPM_BUILD_ROOT%{_datadir}/appdata/xorg-x11-drv-nvidia.metainfo.xml %{SOURCE13} README.txt "NVIDIA GEFORCE GPUS" | xargs appstream-util add-provide ${fn} modalias %{SOURCE13} README.txt "NVIDIA QUADRO GPUS" | xargs appstream-util add-provide ${fn} modalias