Stefan van der Eijk <[EMAIL PROTECTED]> writes:
> OK. This is what the .spec file of cvs.spec looks like
> after applying Chmouel's script + restoring the changelog
> section.
>
> Is this the way it's supposed to be? Or should we also make
> /etc look like %{_sysconfdir} ?
yes.
>
> These are the macro's from /usr/lib/rpm/macro's that we're
> talking about, right?
yep
> # ---- configure macros.
and better :
while (<>) {
s@[/]?(usr|%{[_]?prefix})/bin@%{_bindir}@g;
s@[/]?(usr|%{[_]?prefix})/man@%{_mandir}@g;
s@[/]?(usr|%{[_]?prefix})/sbin@%{_sbindir}@g;
s@[/]?(usr|%{[_]?prefix})/etc@%{_sysconfdir}@g;
s@[/]?(usr|%{[_]?prefix})/lib@%{_libdir}@g;
s@[/]?(usr|%{[_]?prefix})/share@%{_datadir}@g;
s@[/]?(usr|%{[_]?prefix})/include@%{_includedir}@g;
s@[/]?(usr|%{[_]?prefix})/info@%{_infodir}@g;
s@/etc@%{_sysconfdir}@;
s@/usr@%{prefix}@;
print;
}
--
MandrakeSoft Inc http://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel
- [Cooker] Re: make fix proposal Chmouel Boudjnah
- RE: [Cooker] Re: make fix proposal Geoffrey Lee
- Re: [Cooker] Re: make fix proposal Chmouel Boudjnah
- Re: [Cooker] Re: make fix proposal Stefan van der Eijk
- RE: [Cooker] Re: make fix proposal Geoffrey Lee
- Re: [Cooker] Re: make fix propo... Stefan van der Eijk
- RE: [Cooker] Re: make fix p... Geoffrey Lee
- Re: [Cooker] Re: make fix p... Stefan van der Eijk
- Re: [Cooker] Re: make fix p... Stefan van der Eijk
- Re: [Cooker] Re: make fix p... Stefan van der Eijk
- Re: [Cooker] Re: make fix p... Chmouel Boudjnah
- Re: [Cooker] Re: make fix p... Stefan van der Eijk
- Re: [Cooker] Re: make fix p... Stefan van der Eijk
- Re: [Cooker] Re: make fix propo... Chmouel Boudjnah
- Re: [Cooker] Re: make fix p... Chmouel Boudjnah
- Re: [Cooker] Re: make fix p... Vincent Danen
- Re: [Cooker] Re: make fix proposal Chmouel Boudjnah
- Re: [Cooker] Re: make fix propo... Thierry Vignaud
- Re: [Cooker] Re: make fix p... Guillaume Cottenceau
- Re: [Cooker] Re: make fix p... Thierry Vignaud
