On Wed, 24 Mar 2004, Andre Majorel wrote: > I'd like to make an RPM from a hierarchy, excluding certain files. > Are there any inconvenients to doing it from a hierarchy of hard > links to the original hierarchy ? > > find original-tree ! -name "name-i-don't-want" \ > | cpio -pdlm clean-tree > > That should work. Then you just need to either generate the file list by walking the build root and useing %files -f, or you can explicitly declare each file in %files, or you can just list a directory under which all the files will be installed in the build root (provided they are all in the same place). I don't like the last one, because any directories your package should owned won't be owned by it. All will work, its just a nit. Cheers...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list