On Fri, Nov 05, 2010 at 11:11:13PM -0400, Charlie Brady wrote:
> On Fri, 5 Nov 2010, Marc MERLIN wrote:
> > > Caveat:
> > > %exclude has some minor issues in various versions of RPM.
> > I tried it, it worked for
> > %files
> > /*
> I'd advise you to be more selective in what dirs you allow your rpm to
> claim ownership of. Don't claim ownership of directories you don't
> install. I've seen bad things happen when an rpm has wrong perms on a top
> level directory - e.g. wrong permissions on /tmp is a bad thing.
Yes, I know about those :)
> > > Generate the manifest at end of %install, and filter paths however you
> > > wish with sed/grep/cut/awk/whatever.
> > Yep, seems like the way to go.
> I agree with Jeff this is the way to go if you don't want to hand-craft
> the list.
I didn't go into details, but basically I'm using a script that converts
packages to RPMs, so /* was convenient :)
But that nonwithstanding, generating a manifest will still be the way to go
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
Received on Sat Nov 6 15:46:33 2010