Bug 60787

Summary: timconfig doesn't consistently use %{_mandir}
Product: [Retired] Red Hat Linux Reporter: Need Real Name <andrew.taylor>
Component: timeconfigAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 7.2   
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: 2002-03-06 18:37:26 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:
Attachments:
Description Flags
Patch to man/Makefile to use macro "mandir" for manpage installation location
none
Patch to spec file to pass mandir macro to make at install time none

Description Need Real Name 2002-03-06 18:28:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.8+) Gecko/20020226

Description of problem:
The timeconfig man/Makefile file don't use the %{_mandir} macro, it is hardcoded
to "/usr/share/man".  However, the spec file does use %{_mandir} in the %files
section.  If %{_mandir} is not equal to /usr/share/man, building from source RPM
will fail, unable to locate the man pages.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.  Change %{_mandir} to /usr/man
2.  Rebuild the timeconfig package.

	

Actual Results:  Build fails because manpages are installed in
$RPM_BUILD_ROOT/usr/share/man, but the spec file looks for them in
$RPM_BUILD_ROOT/usr/man.


Expected Results:  Successful build.

Additional info:

Comment 1 Need Real Name 2002-03-06 18:36:06 UTC
Created attachment 47623 [details]
Patch to man/Makefile to use macro "mandir" for manpage installation location

Comment 2 Need Real Name 2002-03-06 18:37:20 UTC
Created attachment 47624 [details]
Patch to spec file to pass mandir macro to make at install time

Comment 3 Trond Eivind Glomsrxd 2002-03-18 22:14:45 UTC
timeconfig-3.2.7-1 has a fix for this.