Bug 619946

Summary: Bad path in %install for winbind
Product: [Fedora] Fedora Reporter: Kenneth Porter <shiva>
Component: samba4Assignee: Matthew Barnes <mbarnes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: mbarnes, ssorce
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: 2010-08-03 16:37:08 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 fix macro expansion when all server packages are enabled none

Description Kenneth Porter 2010-07-30 23:20:14 UTC
Created attachment 435698 [details]
Patch to fix macro expansion when all server packages are enabled

I'm building the server packages on an up-to-date Fedora 12 (no samba 3 installed) and the %install clause for winbind breaks with an empty path. I'm attaching a patch. Adding a slash between the variables seems to fix it. It looks like rpmbuild's macro expansion is treating "$RPM_BUILD_ROOT%{_lib}" as a single macro instead of two concatenated macros. But neither has a slash, so the slash is needed anyway.

Comment 1 Kenneth Porter 2010-07-30 23:22:11 UTC
The source package is samba4-4.0.0-24.alpha11.fc14.src.rpm.

Comment 2 Matthew Barnes 2010-08-03 16:37:08 UTC
Path fixed in samba4-4.0.0-25.alpha11.fc14.