> > I've got a macros file that I'd like rpmbuild to use. It > > seems that rpmbuild 4.4.2.3 is ignoring the --macros switch. > Not an answer to your questions, but... > Rpmbuild supposed to be tool, that reliable convert srpm to binary rpm. > If your .rpmmacros contains not only stuff like rpmbild directory, > but something essential to rpm build, than no one will be able to > build this rpm without mymacros. > > Don't like as a good idea (unless you are trying to secure your job > this way :) > > So if the content of the mymacros is (relative) unimportant - > directories, etc - I suggest to put it into ~/.rpmmacros. > If it's important - use make file (or whatever build system you use) > to combine your spec with mymacros. > Something like this in Makefile: > spec_file: mymacros spec_file.in > rm $@ > cat mymacros spec_file.in > $@ > > Where spec-file.in is your original specfile > ya.. what Valery said. Ideally your spec should work by itself if someone rebuilds your SRPM on their system. -greg _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list