Author: thl
Update of /cvs/free/rpms/staging-kmod/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv11255
Modified Files:
staging-kmod.spec
Log Message:
make it obvious that akmods are not supported and remove buildforkernels variable to avoid
mistakes
Index: staging-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/staging-kmod/F-15/staging-kmod.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- staging-kmod.spec 1 Aug 2011 18:02:17 -0000 1.22
+++ staging-kmod.spec 1 Aug 2011 18:28:39 -0000 1.23
@@ -33,8 +33,8 @@
BuildRequires: %{_bindir}/kmodtool
# kmodtool does its magic here
-%{!?kernels:BuildRequires:
buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu}
}
-%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null) }
+%{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-newest-%{_target_cpu}
}
+%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --newest
%{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) }
%description
@@ -44,7 +44,7 @@
%prep
# kmodtool check and debug output:
%{?kmodtool_check}
-kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
+kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{name} --newest
%{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null
# prepare
%setup -q -c -T -a 0
@@ -139,6 +139,8 @@
%changelog
* Mon Aug 01 2011 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.6.40-3
- bump release to 3 to avoid tagging problems in cvs
+- make it obvious that akmods are not supported and remove buildforkernels
+ variable to avoid mistakes
* Mon Aug 01 2011 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.6.40-1
- update to 3.0 aka 2.6.40
Show replies by date