Bug 20503 - spec file fix
Summary: spec file fix
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: libjpeg
Version: 6.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-11-08 00:48 UTC by Richard C. Greenwood
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2000-11-08 00:50:07 UTC

Attachments (Terms of Use)
Patch for libjpeg.spec (685 bytes, patch)
2000-11-08 00:49 UTC, Richard C. Greenwood
no flags Details | Diff

Description Richard C. Greenwood 2000-11-08 00:48:17 UTC
With the current spec file (Release 10), the install process does not use
the BUILD_ROOT.  This prevented a non-root user from creating the RPM.  The
following patch will allow the install step to use the BUILD_ROOT.  Thanks.

--- libjpeg.spec.orig   Fri Feb  4 18:52:34 2000
+++ libjpeg.spec        Tue Nov  7 16:44:40 2000
@@ -51,7 +51,7 @@
 mkdir -p $RPM_BUILD_ROOT/usr/{lib,include,bin,man/man1}
-make prefix=$RPM_BUILD_ROOT/usr install
+make -e prefix=$RPM_BUILD_ROOT/usr exec_prefix=$RPM_BUILD_ROOT/usr install
 strip -R .comments $RPM_BUILD_ROOT/usr/bin/* || :
 %post -p /sbin/ldconfig
@@ -77,6 +77,9 @@
+* Tue Nov  7 2000 Richard C. Greenwood <rcgreenw@truelink.com>
+- fixed spec file to allow install step to use BUILD_ROOT
 * Sat Feb  5 2000 Bernhard Rosenkrdnzer <bero@redhat.com>
 - rebuild to get compressed man pages
 - fix description

Comment 1 Richard C. Greenwood 2000-11-08 00:49:55 UTC
Created attachment 5142 [details]
Patch for libjpeg.spec

Comment 2 Bernhard Rosenkraenzer 2000-11-08 08:19:12 UTC
This was fixed in Red Hat Linux 7.

Note You need to log in before you can comment on or make changes to this bug.