rpms/xorg-x11-drv-nvidia/F-11 filter-provides.sh, NONE,
1.1 xorg-x11-drv-nvidia.spec, 1.26, 1.27
NicolasChauvet
kwizart at rpmfusion.org
Sat Oct 10 18:43:27 CEST 2009
Author: kwizart
Update of /cvs/nonfree/rpms/xorg-x11-drv-nvidia/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv14688
Modified Files:
xorg-x11-drv-nvidia.spec
Added Files:
filter-provides.sh
Log Message:
- Exclude libvdpau as it is now a separate package.
- Avoid Requires/Provides of the libGL.so.1 . rfbz#859
--- NEW FILE filter-provides.sh ---
#!/bin/sh
if [ -x /usr/lib/rpm/redhat/find-provides ]; then
FINDPROV=/usr/lib/rpm/redhat/find-provides
else
FINDPROV=/usr/lib/rpm/find-provides
fi
$FINDPROV $* | sed -e '/libnvidia-tls.so/d' | sed -e '/libGLcore.so/d' | sed -e '/libGL.so/d'
Index: xorg-x11-drv-nvidia.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-nvidia/F-11/xorg-x11-drv-nvidia.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- xorg-x11-drv-nvidia.spec 29 Aug 2009 14:25:27 -0000 1.26
+++ xorg-x11-drv-nvidia.spec 10 Oct 2009 16:43:27 -0000 1.27
@@ -8,7 +8,7 @@
Name: xorg-x11-drv-nvidia
Version: 185.18.36
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards
Group: User Interface/X Hardware Support
@@ -23,8 +23,11 @@
Source11: nvidia-README.Fedora
# So we don't pull other nvidia variants
Source91: filter-requires.sh
+# So we don't mess with mesa provides.
+Source92: filter-provides.sh
%define _use_internal_dependency_generator 0
%define __find_requires %{SOURCE91}
+%define __find_provides %{SOURCE92}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if 0%{?fedora} >= 11
@@ -48,6 +51,7 @@
Requires(post): ldconfig
Requires(preun): chkconfig
+
Provides: nvidia-kmod-common = %{version}
Conflicts: xorg-x11-drv-nvidia-beta
Conflicts: xorg-x11-drv-nvidia-legacy
@@ -211,9 +215,6 @@
# This is 180.xx adds - vdpau libs and headers
ln -s libvdpau_nvidia.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libvdpau_nvidia.so
-ln -s libvdpau.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libvdpau.so.1
-ln -s libvdpau.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libvdpau.so
-ln -s libvdpau_trace.so.%{version} $RPM_BUILD_ROOT%{nvidialibdir}/libvdpau_trace.so
# X configuration script
install -D -p -m 0755 %{SOURCE10} $RPM_BUILD_ROOT%{_sbindir}/nvidia-config-display
@@ -291,7 +292,8 @@
%{nvidialibdir}/libcuda.so
%{nvidialibdir}/libGLcore.so
%{nvidialibdir}/libvdpau_nvidia.so
-%{nvidialibdir}/libvdpau_trace.so
+%exclude %{nvidialibdir}/libvdpau_trace.so*
+%exclude %{nvidialibdir}/libvdpau.*
%{nvidialibdir}/tls/*.so.*
%files devel
@@ -299,18 +301,22 @@
%dir %{_includedir}/nvidia
%dir %{_includedir}/nvidia/GL
%dir %{_includedir}/nvidia/cuda
-%dir %{_includedir}/nvidia/vdpau
+%exclude %dir %{_includedir}/nvidia/vdpau
%{_includedir}/nvidia/GL/*.h
%{_includedir}/nvidia/cuda/*.h
-%{_includedir}/nvidia/vdpau/*.h
+%exclude %{_includedir}/nvidia/vdpau/*.h
%exclude %{nvidialibdir}/libXvMCNVIDIA.a
%exclude %{nvidialibdir}/libcuda.so
%{nvidialibdir}/libGL.so
-%{nvidialibdir}/libvdpau.so
+%exclude %{nvidialibdir}/libvdpau.so
%{nvidialibdir}/libXvMCNVIDIA.so
%changelog
+* Sat Oct 10 2009 kwizart < kwizart at gmail.com > - 185.18.36-2
+- Exclude libvdpau as it is now a separate package.
+- Avoid Requires/Provides of the libGL.so.1 . rfbz#859
+
* Sat Aug 29 2009 kwizart < kwizart at gmail.com > - 185.18.36-1
- Update to 185.18.36 (final)
More information about the rpmfusion-commits
mailing list