Bug 98362 - error in spec file
error in spec file
Status: CLOSED ERRATA
Product: Red Hat Linux Beta
Classification: Retired
Component: kernel (Show other bugs)
alpha 3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
:
Depends On:
Blocks: CambridgeTarget
  Show dependency treegraph
 
Reported: 2003-07-01 14:04 EDT by Gerald Teschl
Modified: 2015-01-04 17:02 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-26 00:49:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gerald Teschl 2003-07-01 14:04:22 EDT
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.