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

Elan Ruusamäe glen at delfi.ee
Sun Jun 19 19:54:20 CEST 2005


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 ?

-- 
glen



More information about the pld-devel-en mailing list