All, How can I change something within the spec file while building the rpm package using rpmbuild command? For example, if I have a build number that I need to reflect it in the "release:" field, then can I say something like: %define buildnumber 111 ... Release: %{buildnumber} and when execute rpmbuild, then I type "rpmbuild -bb specfile -- define 'buildnumber 222' ??? Please comment and correct my syntax. Thanks. BArry _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list