Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 98362 - error in spec file
Summary: error in spec file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: kernel
Version: alpha 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: CambridgeTarget
TreeView+ depends on / blocked
 
Reported: 2003-07-01 18:04 UTC by Gerald Teschl
Modified: 2015-01-04 22:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-26 04:49:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Gerald Teschl 2003-07-01 18:04:22 UTC
The script

find $RPM_BUILD_ROOT/usr/src/linux-%{KVERREL} -name ".*depend" | \
while read file ; do
    mv $file $file.old
    sed -e "s|[^ ]*\(/usr/src/linux\)|\1|g" < $file.old > $file
    rm -f $file.old
done

in the kernel spec file will replace

.PRECIOUS:      /usr/src/linux-2.4.21-2gt/include/asm/apicdef.h

by

/usr/src/linux-2.4.21-2gt/include/asm/apicdef.h

and hence corrupt the corresponding file. Probaly the sed should read

sed -e "s|$RPM_BUILD_ROOT||g" < $file.old > $file


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