[Fedora-packaging] disttag
Carwyn Edwards
carwyn at carwyn.com
Fri Feb 25 01:58:20 UTC 2005
Dag Wieers wrote:
>On the other hand the Distribution-header does not make up for unique
>filenames, which I think is in favor of mandatory disttags. (Although
>filenames could be renamed to reflect the disttag, without 'polluting' the
>release-tag).
>
Do you mean something like this:
%{name}-%{version}-%{release}.%{disttag}.%{arch}.rpm
.. where %{disttag} is _not_ an overloaded part of the "Release:" but
rather a distinct entity derived from build environment - a bit like
%{arch} perhaps with a tag to hard wire it in the spec if required, say
"DistTag: any" for agnostic (I'm creating a new RPM tag in this example
rather than changing the semantics of "Distribution:").
This would relate well to my previous suggestion where %{disttag} would
not be evaluated as part of the release on version comparisons but
rather prior to the epoch: %{disttag}:%{epoch}:%{version}-%{release}
(hmm, maybe after the epoch would be better?).
Carwyn
More information about the packaging
mailing list