+++ This bug was initially created as a clone of Bug #471385 +++ Description of problem: To stream-line tps automated testing, please update the autofs spec file to define Release: and Version: in-line rather than first using a %define statement. Thanks! ie, --- /usr/src/redhat/SPECS/autofs.spec.orig 2008-11-13 08:09:40.000000000 -0500 +++ /usr/src/redhat/SPECS/autofs.spec 2008-11-13 08:10:53.000000000 -0500 @@ -3,10 +3,8 @@ # Summary: A tool for automatically mounting and unmounting filesystems. Name: autofs -%define version 5.0.1 -%define release 0.rc2.88%{?dist}.1 -Version: %{version} -Release: %{release} +Version: 5.0.1 +Release: 0.rc2.88%{?dist}.1 Epoch: 1 License: GPL Group: System Environment/Daemons
Can I ask why you don't simply use rpm itself to parse the spec file instead of having people change their .specs? rpm -q --specfile autofs.spec --queryformat="whateveryouwant\n"
hi Ian, seem %{?dist} tag is missing in the new specfile: Name: autofs5 %define version 5.0.1 %define release 0.rc2.111 Version: 5.0.1 Release: 0.rc2.112
(In reply to comment #5) > hi Ian, > seem %{?dist} tag is missing in the new specfile: > Name: autofs5 > %define version 5.0.1 > %define release 0.rc2.111 > Version: 5.0.1 > Release: 0.rc2.112 The %{?dist} is missing from the RHEL-4 rpm configuration so I don't think that can be used. I'll fix the mismatch in the release between the macro and the tag that you've pointed out above.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, the file handle was not correctly initialized, which could lead to excessive CPU utilization. This update resolves this problem in the RPC library code and initializes the file handle correctly.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -Previously, the file handle was not correctly initialized, which could lead to excessive CPU utilization. This update resolves this problem in the RPC library code and initializes the file handle correctly.+The the autofs spec file was updated to define Release: and Version: in-line rather than first using a %define statement To stream-line tps automated testing.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0241.html