[Fedora-packaging] .gz suffix of compressed man pages in spec files

Tom Lane tgl at redhat.com
Sun Oct 18 16:21:45 UTC 2009


Ralf Corsepius <rc040203 at freenet.de> writes:
> On 10/18/2009 05:09 PM, Chuck Anderson wrote:
>> IMO, * should be used so that if/when we change to bzip2 or xz or
>> some other compression method you won't have to update spec files.

> Agreed. *.specs which use *.gz will break, should Fedora switch to a 
> different compression.

> ... other distros did so many years, ago.

I remember being told that the specfile should be agnostic as to whether
manpage compression is used at all, let alone what kind it is.
"*" accomplishes that (and ".*" doesn't, so it's still easy to get it
wrong).  If this isn't spelled out in the guidelines, it probably should
be, because sooner or later a specfile that uses ".gz" is going to
break.

			regards, tom lane




More information about the Fedora-packaging mailing list