Author: thl
Update of /cvs/nonfree/rpms/slmodem-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv5833
Modified Files:
slmodem-kmod.spec
Log Message:
* Thu Oct 16 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.9.11-26
- small adjustments for the kmod stuff
Index: slmodem-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/slmodem-kmod/devel/slmodem-kmod.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- slmodem-kmod.spec 16 Oct 2008 19:21:33 -0000 1.1
+++ slmodem-kmod.spec 16 Oct 2008 19:47:43 -0000 1.2
@@ -1,7 +1,9 @@
-# (un)define the next line to either build for the newest or all current kernels
-%define buildforkernels newest
+# buildforkernels macro hint: when you build a new version or a new release
+# that contains bugfixes or other improvements then you must disable the
+# "buildforkernels newest" macro for just that build; immediately after
+# queuing that build enable the macro again for subsequent builds; that way
+# a new akmod package will only get build when a new one is actually needed
#define buildforkernels newest
-#define buildforkernels akmod
%define filever 2.9.11-20080817
%define datetag 20080817
@@ -10,7 +12,7 @@
Name: slmodem-kmod
Version: 2.9.11
-Release: 25%{?dist}
+Release: 26%{?dist}.1
Summary: Proprietary SmartLink softmodem kernel drivers
Group: System Environment/Kernel
@@ -33,7 +35,6 @@
# get the needed BuildRequires (in parts depending on what we build for)
BuildRequires: %{_bindir}/kmodtool
-
%{!?kernels:BuildRequires:
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
# kmodtool does its magic here
@@ -45,9 +46,8 @@
%prep
# error out if there was something wrong with kmodtool
%{?kmodtool_check}
-
# print kmodtool output for debugging purposes:
-kmodtool --target %{_target_cpu} --repo %{repo} --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
+kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
%setup -q -c -T -a 0
%setup -q -D -T -a 1
@@ -102,6 +102,9 @@
%changelog
+* Thu Oct 16 2008 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.9.11-26
+- small adjustments for the kmod stuff
+
* Thu Oct 16 2008 Andreas Thienemann <andreas(a)bawue.net> - 2.9.11-25
- Updated to recent upstream kernel
- Prevent build failure on kernels > 2.6.24