On Tuesday 28 May 2002 00.35, Vincent Danen wrote: > On Mon May 27, 2002 at 09:22:16AM +0200, Oden Eriksson wrote: > > > > > In the next few weeks we will probably be putting out a package for > > > > > the older distribs to update the rpm macros to include all of those > > > > > available in 8.2 which will make things *much* easier for building > > > > > packages. > > > > > > > > Good idea. This will make life much easier for all of us. > > > > > > Yup... flepied gave me an rpm to do it, I just have to figure out the > > > best way to implement it, as I don't want to put a bunch of > > > BuildRequires: rpm-macros in the new specs for updates. > > > > > > But yes, it will seriously make life a *lot* easier. > > > > Yes, one immediate thing that comes to my mind is that it has to cope > > with conditional things like the %configure2.5x macro. For example it may > > be impossible to upgrade autoconf, libtool, etc. on a ML7.2 system, and > > in that case this macro needs to mean something else... > > Not necessarily. In terms of updates, make sure you don't use > %configure2.5 macro and just use %configure instead. That way > rebuilding a src rpm, as long as rpm-macros is installed, will be > fine. > > In the case of rebuilding cooker for 7.2, well, it *is* cooker, after > all.
I haven't tried this, but would it be possible to have macros in $HOME that overides the "system" macros? If so there's no need to update rpm, just rootfiles? -- Regards // Oden Eriksson