On Sunday 12 March 2006 16:40, Pascal Bleser wrote:
> Following "issue": to set the %{DISTRIBUTION} header in my RPMs, I use
> the following trick in my spec files:
>
> Distribution: %(head -1 /etc/SuSE-release)
That's nasty.
> When one doesn't explicitely specify the Distribution: tag, the RPM ends
> up with "Distribution: (none)".
>
> Now I wonder, has anyone a better solution for this ?
> How is this solved @SUSE ? Are you setting it using
> build/abuild/y2pmbuild ? spec-file postprocessing ?
/etc/y2pmbuild/files/*/etc/rpm/macros
cu
Ludwig
--
(o_ Ludwig Nussel
//\ SUSE LINUX Products GmbH, Development
V_/_ http://www.suse.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]