[CentOS-devel] a strange (new?) feature in rhel-6

Sat Jul 31 00:53:25 UTC 2010
Farkas Levente <lfarkas at lfarkas.org>

hi,
i'm just accidentally recognize that on rhel-6:
----------------------------------------------
# rpm -qpi rhnsd-4.9.3-2.el6.x86_64.rpm
warning: rhnsd-4.9.3-2.el6.x86_64.rpm: Header V3 RSA/SHA256 signature:
NOKEY, key ID f21541eb
Name        : rhnsd                        Relocations: (not relocatable)
Version     : 4.9.3                             Vendor: Red Hat, Inc.
Release     : 2.el6                         Build Date: Wed 24 Mar 2010
03:11:14 PM CET
Install Date: (not installed)               Build Host:
ls20-bc2-13.build.redhat.com
Group       : System Environment/Base       Source RPM:
rhnsd-4.9.3-2.el6.src.rpm
Size        : 92865                            License: GPLv2
Signature   : RSA/8, Tue 20 Apr 2010 07:50:37 PM CEST, Key ID
938a80caf21541eb
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : https://fedorahosted.org/spacewalk
Summary     : CentOS Network query daemon
Description :
The CentOS Update Agent that automatically queries the CentOS
Network servers and determines which packages need to be updated on
your machine, and runs any actions.
----------------------------------------------
did you see the strange thing? (i run ths command on a centos system)
so if centos just rebuild the same src.rpm then do not need to modify
the package and the spec! (ok this pacakge won't be included in centos
anyway, just an example) since in that case the buildhost and vendor
changed because of the build system and the summary and other part will
change "automagically" even if the spec file contains _hard coded_ "Red
Hat". this can save same useless work..

just my 2c.

-- 
  Levente                               "Si vis pacem para bellum!"