[svn] r5974 - trunk/rpms/dkms

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Fri Nov 9 10:11:08 CET 2007


Author: dag
Date: 2007-11-09 10:11:07 +0100 (Fri, 09 Nov 2007)
New Revision: 5974

Modified:
   trunk/rpms/dkms/dkms.spec
Log:
Cosmetic changes.

Modified: trunk/rpms/dkms/dkms.spec
===================================================================
--- trunk/rpms/dkms/dkms.spec	2007-11-09 08:55:46 UTC (rev 5973)
+++ trunk/rpms/dkms/dkms.spec	2007-11-09 09:11:07 UTC (rev 5974)
@@ -1,11 +1,13 @@
 # $Id$
 # Authority: dag
 
-%{?el2:%define _without_kernel-devel 1}
-%{?el3:%define _without_kernel-devel 1}
-%{?rh7:%define _without_kernel-devel 1}
-%{?rh9:%define _without_kernel-devel 1}
+%{?dist: %{expand: %%define %dist 1}}
 
+%{?el3:%define _without_kernel_devel 1}
+%{?rh9:%define _without_kernel_devel 1}
+%{?rh7:%define _without_kernel_devel 1}
+%{?el2:%define _without_kernel_devel 1}
+
 Summary: Dynamic Kernel Module Support Framework
 Name: dkms
 Version: 2.0.17.5
@@ -20,8 +22,8 @@
 BuildArch: noarch
 Requires: sed, gawk, findutils, modutils, tar, cpio, gzip, grep, mktemp
 Requires: bash > 1.99, gcc
-%{?_without_kernel-devel:Requires: kernel-source}
-%{!?_without_kernel-devel:Requires: kernel-devel}
+%{?_without_kernel_devel:Requires: kernel-source}
+%{!?_without_kernel_devel:Requires: kernel-devel}
 
 Provides: dkms-minimal
 




More information about the commits mailing list