Bug 146524 - lineak_defaultplugin-0.8.4-2.src.rpm is only rebuildable by root
Summary: lineak_defaultplugin-0.8.4-2.src.rpm is only rebuildable by root
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 2
Hardware: i586 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stefan Behlert
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 20:01 UTC by Olav Reinert
Modified: 2006-02-13 12:54 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Patch for defect Makefile in source tarball (643 bytes, patch)
2006-01-29 20:03 UTC, Olav Reinert
Details | Diff
Patch to spec file for lineak_defaultplugin RPM (2.80 KB, patch)
2006-01-29 20:15 UTC, Olav Reinert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!