rpms/xorg-x11-drv-nvidia/devel xorg-x11-drv-nvidia.spec,1.149,1.150
Nicolas Chauvet
kwizart at rpmfusion.org
Sat Aug 16 17:21:20 CEST 2014
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv27996
Modified Files:
xorg-x11-drv-nvidia.spec
Log Message:
Simplify filter_setup
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/devel/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -r1.149 -r1.150
--- xorg-x11-drv-nvidia.spec 16 Aug 2014 15:12:09 -0000 1.149
+++ xorg-x11-drv-nvidia.spec 16 Aug 2014 15:21:20 -0000 1.150
@@ -55,23 +55,19 @@
Conflicts: xorg-x11-drv-fglrx
Conflicts: xorg-x11-drv-catalyst
+%if 0%{?fedora} || 0%{?rhel} >= 7
+%global __provides_exclude ^(lib.*GL.*\\.so.*|libOpenCL\\.so.*)$
+%global __requires_exclude ^(lib.*GL.*\\.so.*|libOpenCL\\.so.*)$
+%else
+
%{?filter_setup:
-%filter_from_provides /^libnvidia/d;
-%filter_from_provides /^libEGL\.so/d;
-%filter_from_provides /^libGLcore\.so/d;
-%filter_from_provides /^libGL\.so/d;
-%filter_from_provides /^libGLES.*\.so/d;
-%filter_from_provides /^libvdpau_nvidia\.so\.1/d;
-%filter_from_provides /^libglx\.so/d;
-%filter_from_requires /^libnvidia/d;
-%filter_from_requires /^libEGL\.so/d;
-%filter_from_requires /^libGLcore\.so/d;
-%filter_from_requires /^libGL\.so/d;
-%filter_from_requires /^libGLES.*\.so/d;
-%filter_from_requires /^libvdpau_nvidia\.so\.1/d;
-%filter_from_requires /^libglx\.so/d;
+%filter_from_provides /^lib.*GL.*\.so/d;
+%filter_from_provides /^libOpenCL\.so/d;
+%filter_from_requires /^lib.*GL.*\.so/d;
+%filter_from_requires /^libOpenCL\.so/d;
%filter_setup
}
+%endif
%description
This package provides the most recent NVIDIA display driver which allows for
More information about the rpmfusion-commits
mailing list