From 1d54ce108f3a2b8af48e027f86ce74379aa5a71f Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 26 Mar 2018 12:25:16 +0200 Subject: [PATCH] Revert "Fix el7 build" This reverts commit 4bf52ce4761ca376776f61eac41523338434ab66. --- 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 4c3a287..6e8bbb1 100644 --- a/xorg-x11-drv-nvidia.spec +++ b/xorg-x11-drv-nvidia.spec @@ -350,7 +350,7 @@ install -p -m 0644 nvidia-application-profiles-%{version}-{rc,key-documentation} #Install the Xorg configuration files mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d mkdir -p %{buildroot}%{_datadir}/X11/xorg.conf.d -%if 0%{?fedora} >= 25 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 25 || 0%{?rhel} >= 7 install -pm 0644 %{SOURCE10} %{buildroot}%{_datadir}/X11/xorg.conf.d/nvidia.conf sed -i -e 's|@LIBDIR@|%{_libdir}|g' %{buildroot}%{_datadir}/X11/xorg.conf.d/nvidia.conf touch -r %{SOURCE10} %{buildroot}%{_datadir}/X11/xorg.conf.d/nvidia.conf