SPECS: xorg-driver-video-fglrx.spec - disable debuginfo for kernel only build

glen glen at pld-linux.org
Mon Oct 27 15:02:04 CET 2008


Author: glen                         Date: Mon Oct 27 14:02:04 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- disable debuginfo for kernel only build

---- Files affected:
SPECS:
   xorg-driver-video-fglrx.spec (1.112 -> 1.113) 

---- Diffs:

================================================================
Index: SPECS/xorg-driver-video-fglrx.spec
diff -u SPECS/xorg-driver-video-fglrx.spec:1.112 SPECS/xorg-driver-video-fglrx.spec:1.113
--- SPECS/xorg-driver-video-fglrx.spec:1.112	Sat Oct 18 06:29:50 2008
+++ SPECS/xorg-driver-video-fglrx.spec	Mon Oct 27 15:01:59 2008
@@ -9,13 +9,16 @@
 
 %define		x11ver		x710
 
-%if !%{with kernel}
-%undefine with_dist_kernel
+%if %{without kernel}
+%undefine	with_dist_kernel
 %endif
-
 %if "%{_alt_kernel}" != "%{nil}"
 %undefine	with_userspace
 %endif
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define		_enable_debug_packages	0
+%endif
 
 %ifarch %{ix86}
 %define		arch_sufix	%{nil}
@@ -25,14 +28,13 @@
 %define		arch_dir	x86_64
 %endif
 
+%define		rel	1
 %define		pname		xorg-driver-video-fglrx
-
 Summary:	Linux Drivers for ATI graphics accelerators
 Summary(pl.UTF-8):	Sterowniki do akceleratorów graficznych ATI
 Name:		%{pname}%{_alt_kernel}
 Version:	8.10
-%define		_rel	1
-Release:	%{_rel}%{?with_multigl:.mgl}
+Release:	%{rel}%{?with_multigl:.mgl}
 Epoch:		1
 License:	ATI Binary (parts are GPL)
 Group:		X11
@@ -122,7 +124,7 @@
 %package -n kernel%{_alt_kernel}-video-firegl
 Summary:	ATI kernel module for FireGL support
 Summary(pl.UTF-8):	Moduł jądra oferujący wsparcie dla ATI FireGL
-Release:	%{_rel}@%{_kernel_ver_str}
+Release:	%{rel}@%{_kernel_ver_str}
 License:	ATI
 Group:		Base/Kernel
 %{?with_dist_kernel:%requires_releq_kernel}
@@ -323,6 +325,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.113  2008/10/27 14:01:59  glen
+- disable debuginfo for kernel only build
+
 Revision 1.112  2008/10/18 04:29:50  qboosh
 - tab
 
================================================================

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



More information about the pld-cvs-commit mailing list