Bug 146524

Summary: lineak_defaultplugin-0.8.4-2.src.rpm is only rebuildable by root
Product: [openSUSE] SUSE Linux 10.1 Reporter: Olav Reinert <seroton10>
Component: BasesystemAssignee: Stefan Behlert <behlert>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Patch for defect Makefile in source tarball
Patch to spec file for lineak_defaultplugin RPM

Description Olav Reinert 2006-01-29 20:01:40 UTC
A defect in the Makefile provided by the source tarball causes lineak_defaultplugin-0.8.4-2.src.rpm to be rebuildable only by a user with root privileges.

The problem is that "make install" dumps the file "media-detect.conf" in "/usr/etc", and that file is subsequently omitted from the final RPM package.
Comment 1 Olav Reinert 2006-01-29 20:03:47 UTC
Created attachment 65566 [details]
Patch for defect Makefile in source tarball

Fixes missing uses of DESTDIR.
Comment 2 Olav Reinert 2006-01-29 20:15:59 UTC
Created attachment 65567 [details]
Patch to spec file for lineak_defaultplugin RPM

Proposed changes to the spec file for the lineak_defaultplugin RPM to fix this bug. It makes use of the Makefile patch posted before. It also adds the default "media-detect.conf" file as part of the package documentation.
Comment 3 Stefan Behlert 2006-02-13 12:54:33 UTC
Ok, applied and checked into autobuild. If noone objects it should be available with beta4.
Thanks for the patches!