Bug 21450
Summary: | find-requires breaks on makefiles | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <jared> |
Component: | rpm-build | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-02-21 19:08:59 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2000-11-28 22:30:08 UTC
Why are your Makefiles marked executable? (They won't get picked up by find-requires if they aren't...) It is there with exec permissions because we copy a whole directory, and then we do a global chmod on the contents. Essentially we are to lazy to specify the files individually. Just because we are careless in that regard doesn't mean that the script shouldn't do the right thing however. This patch is better and much less annoying. --- find-requires.old Wed Mar 1 15:24:58 2000 +++ find-requires Wed Nov 29 09:31:37 2000 @@ -22,7 +22,7 @@ for f in $scriptlist; do if [ -x $f ]; then - head -1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1 + head -1 $f | grep '^\#\!' | sed -e 's/^\#\![ ]*//' | cut -d" " -f1 fi done | sort -u Changing component. This isn't important enogh to fix in rpm. However, if you wish to configure your own find-requires, then do mkdir -p /etc/rpm cp /usr/lib/rpm/find-requires /etc/rpm/find-requires <... apply your patch ...> echo "%_find_requires /etc/rpm/find-requires" >> /etc/rpm/macros |