Bugzilla – Bug 146515
lineakd-0.8.4-2.src.rpm is only rebuildable by root
Last modified: 2006-02-13 12:53:25 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.
Created attachment 65559 [details] Patch for defect Makefile in source tarball Fixes missing uses of DESTDIR.
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)").
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.
Thanks, I didn't had the time to look at lineakd during the last months :(
Ok, I've applied your patches, and checked a new package into autobuild.