Bug 146515

Summary: lineakd-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 Keywords: patch
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 for another defect Makefile in source tarball
Updated RPM spec file (0.8.4-3)

Description Olav Reinert 2006-01-29 16:47:47 UTC
Some Makefiles in lineakd-0.8.4 disregard DESTDIR in some cases. The current spec file for 0.8.4-2 "fixes" these mistakes by manipulating files after "make install", instead of patching the Makefiles. This works, but means the source RPM is only rebuildable by root.
Comment 1 Olav Reinert 2006-01-29 16:51:48 UTC
Created attachment 65559 [details]
Patch for defect Makefile in source tarball

Fixes missing uses of DESTDIR.
Comment 2 Olav Reinert 2006-01-29 16:55:41 UTC
Created attachment 65560 [details]
Patch for another defect Makefile in source tarball

Fixes missing uses of DESTDIR. Also includes the Makefile patch in 0.8.4-2.src.rpm (which substitues uses of "-L/usr/X11R6/lib" with "$(X_LIBS)").
Comment 3 Olav Reinert 2006-01-29 16:59:05 UTC
Created attachment 65561 [details]
Updated RPM spec file (0.8.4-3)

This spec file makes use of the two previously attached Makefile patches. The patch file "makefile64_lineakd-0.8.4.patch" in 0.8.4-2.src.rpm is obsoleted.
Comment 4 Stefan Behlert 2006-02-13 11:31:08 UTC
Thanks, I didn't had the time to look at lineakd during the last months :(
Comment 5 Stefan Behlert 2006-02-13 12:53:25 UTC
Ok, I've applied your patches, and checked a new package into autobuild.