Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 4858

Summary: Non-uniform directory names from rpm -bp of SPRMS
Product: [Retired] Red Hat Linux Reporter: nathan.zook
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-03 20:51:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description nathan.zook 1999-09-02 15:11:55 UTC
Lack of version numbers means that installation of a later
source tree will blow away the old one.

Comment 1 Jeff Johnson 1999-09-03 20:51:59 UTC
This is a packager/packaging problem, not an rpm problem. Basically,
you need to "look before you leap" if you're using rpm to build
packages.

Alternatively, you might try these macros that will install all
components from a src.rpm in the same /J/name-version-release
directory (built binaries and src.rpm end up there too):

%_topdir        /J
%_ntopdir       %{_topdir}/%{name}-%{version}-%{release}
%_builddir      %{_ntopdir}
%_rpmdir        %{_ntopdir}
%_sourcedir     %{_ntopdir}
%_specdir       %{_ntopdir}
%_srpmdir       %{_ntopdir}
%_rpmfilename   %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm