diff --git a/.cvsignore b/.cvsignore index 346db80..5bdd826 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dkms-2.0.19.1.tar.gz +dkms_2.1.0.0.orig.tar.gz diff --git a/dkms.spec b/dkms.spec index f812b72..55d651c 100644 --- a/dkms.spec +++ b/dkms.spec @@ -1,6 +1,6 @@ Summary: Dynamic Kernel Module Support Framework Name: dkms -Version: 2.0.19.1 +Version: 2.1.0.0 Release: 1%{?dist} License: GPLv2+ Group: System Environment/Base @@ -10,10 +10,12 @@ Requires: bash > 1.99 # because Mandriva calls this package dkms-minimal Provides: dkms-minimal = %{version} URL: http://linux.dell.com/dkms -Source0: http://linux.dell.com/dkms/permalink/dkms-%{version}.tar.gz +Source0: http://linux.dell.com/dkms/permalink/dkms_%{version}.orig.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -# when building for Fedora, uncomment this Requires + +%if 0%{?fedora} Requires: kernel-devel +%endif %description This package contains the framework for the Dynamic @@ -100,6 +102,16 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/kernel/prerm.d/%{name} %{_sysconfdir}/bash_completion.d/%{name} +%if 0%{?suse_version} +# suse doesnt yet support /etc/kernel/{prerm.d,postinst.d}, but will fail build +# with unowned dirs if we dont own them ourselves +# when opensuse *does* add this support, we will need to BuildRequires kernel +%dir %{_sysconfdir}/kernel +%dir %{_sysconfdir}/kernel/postinst.d +%dir %{_sysconfdir}/kernel/prerm.d +%endif + + %post [ -e /sbin/dkms ] && mv -f /sbin/dkms /sbin/dkms.old 2>/dev/null # enable on initial install @@ -110,6 +122,24 @@ rm -rf $RPM_BUILD_ROOT [ $1 -lt 1 ] && /sbin/chkconfig dkms_autoinstaller off ||: %changelog +* Sat Aug 22 2009 Matt Domsch - 2.1.0.0-1 +- update to latest upstream +- drop Requires: lsb. avoid calling rpm (recursively) if possible. +- add recognition for Oracle Enterprise Linux, Oracle VM, Scientific + Linux, and VMware 3.x + +* Fri Jul 24 2009 Fedora Release Engineering - 2.0.21.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Apr 15 2009 Matt Domsch - 2.0.21.1-2 +- add Requires: lsb + +* Tue Apr 14 2009 Matt Domsch 2.0.21.1-1 +- update to latest upstream + +* Tue Feb 24 2009 Fedora Release Engineering - 2.0.19.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Wed May 28 2008 Matt Domsch 2.0.19.1 - depmod on uninstall before mkinitrd, depmod fix & cleanups - find_module_from_ko() could incorrectly return multiple values diff --git a/sources b/sources index a390a16..035f160 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d51bb4a0679dcd6152dfa0c37c3b716b dkms-2.0.19.1.tar.gz +16783c3ecd48a5d6f28242b789fba6a8 dkms_2.1.0.0.orig.tar.gz