Bug 21496

Summary: rpm macro file has improper entry
Product: [Retired] Red Hat Linux Reporter: Kuratomi, Toshio <badger>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-29 19:11:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kuratomi, Toshio 2000-11-29 19:11:47 UTC
The macro file /usr/lib/rpm/macros contains the following entry:
%_localstatedir     %{_prefix}/var

To conform with the Filesystem Hierarchy Standard, this should be:
%_localstatedir      /var
or
%_localstatedir     %{_var}

Thanks,
Toshio

Comment 1 Jeff Johnson 2000-11-29 19:27:53 UTC
Look for the correct setting on /usr/lib/rpm/<arch>-<os>/macros, not in
/usr/lib/rpm/macros.