commit f1894ad9efb8d296a4d1855b3f1e759d66c2f4c5
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Aug 29 13:26:08 2018 +0100
remove epel6 support for package requires
xorg-x11-drv-nvidia.spec | 25 +++++++------------------
1 file changed, 7 insertions(+), 18 deletions(-)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 01014c4..afaae4d 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -46,21 +46,16 @@ Source14: nvidia-fallback.service
ExclusiveArch: x86_64 i686
-%if 0%{?rhel} > 6 || 0%{?fedora}
Buildrequires: systemd
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
-%endif
-%if 0%{?fedora} >= 25
+# Xorg with PrimaryGPU
+Requires: Xorg >= 1.19.0-3
+%if 0%{?fedora}
# AppStream metadata generation
BuildRequires: python2
BuildRequires: libappstream-glib >= 0.6.3
-# Xorg with PrimaryGPU
-Requires: Xorg >= 1.19.0-3
-%else
-# Xorg with OutputClass
-Requires: Xorg >= 1.16.0-1
%endif
Requires(post): ldconfig
@@ -84,17 +79,9 @@ Conflicts: xorg-x11-drv-nvidia-340xx
Conflicts: xorg-x11-drv-fglrx
Conflicts: xorg-x11-drv-catalyst
-%if 0%{?fedora} || 0%{?rhel} >= 7
%global __provides_exclude ^(lib.*GL.*\\.so.*)$
%global __requires_exclude ^(lib.*GL.*\\.so.*)$
-%else
-%{?filter_setup:
-%filter_from_provides /^lib.*GL.*\.so/d;
-%filter_from_requires /^lib.*GL.*\.so/d;
-%filter_setup
-}
-%endif
%description
This package provides the most recent NVIDIA display driver which allows for
@@ -165,7 +152,6 @@ which is generated during the build of main package.
%package libs
Summary: Libraries for %{name}
Requires: libvdpau%{?_isa} >= 0.5
-%if 0%{?fedora} >= 25
Requires: libglvnd-egl%{?_isa} >= 0.2
Requires: libglvnd-gles%{?_isa} >= 0.2
Requires: libglvnd-glx%{?_isa} >= 0.2
@@ -174,12 +160,15 @@ Requires: egl-wayland%{?_isa} >= 1.0.0
Requires: mesa-libEGL%{?_isa} >= 13.0.3-3
Requires: mesa-libGL%{?_isa} >= 13.0.3-3
Requires: mesa-libGLES%{?_isa} >= 13.0.3-3
+%if 0%{?fedora}
+Requires: vulkan-loader
%ifarch x86_64
# Boolean dependencies are only fedora
Requires: (%{name}-libs(x86-32) = %{?epoch}:%{version}-%{release} if
libGL(x86-32))
+%else
+Requires: vulkan-filesystem
%endif
%endif
-Requires: vulkan-loader
%description libs
This package provides the shared libraries for %{name}.
Show replies by date