SPECS: xorg-driver-video-fglrx.spec - suffix src package with alt ...

hawk hawk at pld-linux.org
Wed Jan 23 19:00:21 CET 2008


Author: hawk                         Date: Wed Jan 23 18:00:21 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- suffix src package with alt kernel name (if present)
- disable userspace for alt_kernels

---- Files affected:
SPECS:
   xorg-driver-video-fglrx.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: SPECS/xorg-driver-video-fglrx.spec
diff -u SPECS/xorg-driver-video-fglrx.spec:1.71 SPECS/xorg-driver-video-fglrx.spec:1.72
--- SPECS/xorg-driver-video-fglrx.spec:1.71	Mon Jan 21 09:47:32 2008
+++ SPECS/xorg-driver-video-fglrx.spec	Wed Jan 23 19:00:16 2008
@@ -13,6 +13,10 @@
 %undefine with_dist_kernel
 %endif
 
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine	with_userspace
+%endif
+
 %ifarch %{ix86}
 %define		arch_sufix	%{nil}
 %define		arch_dir	x86
@@ -21,9 +25,11 @@
 %define		arch_dir	x86_64
 %endif
 
+%define		pname		xorg-driver-video-fglrx
+
 Summary:	Linux Drivers for ATI graphics accelerators
 Summary(pl.UTF-8):	Sterowniki do akceleratorów graficznych ATI
-Name:		xorg-driver-video-fglrx
+Name:		%{pname}%{_alt_kernel}
 Version:	8.1
 %define		_rel	1
 Release:	%{_rel}%{?with_multigl:.mgl}
@@ -32,8 +38,8 @@
 Group:		X11
 Source0:        http://dlmdownloads.ati.com/drivers/linux/ati-driver-installer-8-01-x86.x86_64.run
 # Source0-md5:	cf8f493901f5abb28347e7aa7c9d6cca
-Source1:	%{name}.desktop
-Patch0:		%{name}-kh.patch
+Source1:	%{pname}.desktop
+Patch0:		%{pname}-kh.patch
 URL:		http://www.ati.com/support/drivers/linux/radeon-linux.html
 %{?with_userspace:BuildRequires:	OpenGL-GLU-devel}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
@@ -85,7 +91,7 @@
 Summary:	Header files for development for the ATI Radeon cards proprietary driver
 Summary(pl.UTF-8):	Pliki nagłówkowe do programowania z użyciem własnościowego sterownika dla kart ATI Radeon
 Group:		X11/Development/Libraries
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{pname} = %{epoch}:%{version}-%{release}
 # or more?
 Requires:	xorg-proto-glproto-devel
 
@@ -101,7 +107,7 @@
 Summary:	Static libraries for development for the ATI Radeon cards proprietary driver
 Summary(pl.UTF-8):	Biblioteki statyczne do programowania z użyciem własnościowego sterownika dla kart ATI Radeon
 Group:		X11/Development/Libraries
-Requires:	%{name}-devel = %{epoch}:%{version}-%{release}
+Requires:	%{pname}-devel = %{epoch}:%{version}-%{release}
 
 %description static
 Static libraries for development for the ATI proprietary driver for
@@ -288,6 +294,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2008-01-23 18:00:16  hawk
+- suffix src package with alt kernel name (if present)
+- disable userspace for alt_kernels
+
 Revision 1.71  2008-01-21 08:47:32  hawk
 - restored revision and missing changelog entries (cactus, please use cvs
   diff before commiting changes)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xorg-driver-video-fglrx.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list