SPECS: rpm-macros.spec (NEW) - initial idea

Jakub Bogusz qboosh at pld-linux.org
Mon Jun 20 22:45:58 CEST 2005


On Sun, Jun 19, 2005 at 08:54:20PM +0300, Elan Ruusamäe wrote:
> On Sunday 19 June 2005 20:45, Jakub Bogusz wrote:
> > > +%files
> > > +%defattr(644,root,root,755)
> > > +%config(noreplace) %verify(not md5 mtime size)
> > > %{_sysconfdir}/rpm/rpm.macros
> >
> > But if one modifies this file, he has to merge changes manually on each
> > upgrade...
> 
> could remove the %config(noreplace) then
> but where to place the file so it's readed additionally 
> to /usr/lib/rpm/macros ?
> 
> need to modify rpmrc to and append to macrofiles list?
> 
> or do %include at the end of /usr/lib/rpm/macros and place file itself 
> to /usr/lib/rpm/macros.pld ?

IMO it would be better not to use %config() for file with distro macros.
So it can go to /usr/lib/rpm.


-- 
Jakub Bogusz    http://qboosh.cs.net.pl/



More information about the pld-devel-en mailing list