
13 Mar
2006
13 Mar
'06
08:38
Am Sunday 12 March 2006 16:40 schrieb Pascal Bleser:
Hi folks
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)
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 ?
the build system does automatically edit the Distribution tag. We should do as well with the Build Service. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de