commit c405e591adcd91e410d9e88a981b470657eb3cf1
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Oct 25 11:19:24 2018 +0100
fix el7 build
xorg-x11-drv-nvidia-390xx.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia-390xx.spec b/xorg-x11-drv-nvidia-390xx.spec
index 816d916..bfd3db4 100644
--- a/xorg-x11-drv-nvidia-390xx.spec
+++ b/xorg-x11-drv-nvidia-390xx.spec
@@ -383,6 +383,8 @@ tar Jcf
%{buildroot}%{_datadir}/nvidia-390xx-kmod-%{version}/nvidia-390xx-kmod-%
%if 0%{?fedora}
# install AppData and add modalias provides
+mkdir -p %{buildroot}%{_datadir}/pixmaps
+install -pm 0644 nvidia-settings.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
mkdir -p %{buildroot}%{_metainfodir}
install -pm 0644 %{SOURCE12} %{buildroot}%{_metainfodir}/
fn=%{buildroot}%{_metainfodir}/xorg-x11-drv-nvidia-390xx.metainfo.xml
@@ -399,9 +401,6 @@ install -p -m 0644 %{SOURCE20} %{buildroot}%{_udevrulesdir}
install -p -m 0644 %{SOURCE21} %{buildroot}%{_unitdir}
%endif
-mkdir -p %{buildroot}%{_datadir}/pixmaps
-install -pm 0644 nvidia-settings.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
-
%pre
if [ "$1" -eq "1" ]; then
Show replies by date