kernel devel provides obsoletes

Elan Ruusamäe glen at
Thu Aug 31 15:52:23 CEST 2006

why *-module-build conflicts with other *-module-build but doesn't obsolete each other?

my suggestion is to add to kernel.spec:
%package headers
Provides:   kernel-headers = %{epoch}:%{version}-%{release}
Obsoletes:	kernel-headers

%package module-build
Provides:   kernel-module-build = %{epoch}:%{version}-%{release}
Obsoletes:	kernel-module-build

$ rpm -qa|grep kernel

$ poldek --sn ac -u kernel-grsecurity-{module-build,headers}
Loading [pndir]ac...
13342 packages read
Processing dependencies...
kernel-headers- obsoleted by kernel-grsecurity-headers-
error: kernel-headers = 3: is required by kernel-module-build-
There are 2 packages to install, 1 to uninstall:
I kernel-grsecurity-headers-, kernel-grsecurity-module-build-
R kernel-headers-
Need to get 4.8MB of archives (4.8MB to download).
After unpacking 21.9MB will be used.
error: 1 unresolved dependency


More information about the pld-devel-en mailing list