SPECS: kernel-desktop.spec - removed source symlink from -module-b...
qboosh at pld-linux.org
Mon Feb 11 23:28:44 CET 2008
On Tue, Feb 12, 2008 at 12:08:00AM +0200, Elan Ruusamäe wrote:
> On Monday 11 February 2008 23:51, Jakub Bogusz wrote:
> > On Mon, Feb 11, 2008 at 11:37:58PM +0200, Elan Ruusamäe wrote:
> > > On Monday 11 February 2008 23:03, hawk wrote:
> > > > Author: hawk Date: Mon Feb 11 21:03:48 2008 GMT
> > > > Module: SPECS Tag: HEAD
> > > > ---- Log message:
> > > > - removed source symlink from -module-build, causes unfixable broken
> > > > deps like: /home/users/builder/rpm/BUILD/linux-2.6.22 is needed by
> > > > kernel-desktop-module-build-126.96.36.199-1.i68 - build symlink back to
> > > > kernel package otherwise -module-build requires main kernel package to
> > > > be installed which is IMO overkill
> > > > - release 2
> > >
> > > so now main kernel package requires kernel-module-build, kernel-headers
> > > which is another overkill....
> > That symlink should exist only if both packages are installed.
> > It could be %ghost created in %post, but unfortunately (if things didn't
> > change since rpm 4.0.x) there is no support for %ghost(missingok) or so...
> package them as %ghost (regular files) and creating symlinks in -module-build
> package (so removing will be done by rpm)
> this should do, but creates dead symlinks if kernel package doesn't exist.
> but maybe triggerin on to module-build package? can there strict
> name-version-release dep be used?
Can be trigger.
But non-existing plain %ghost is an error for rpm -V - that's why I wish
there is %ghost(missingok) support.
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en