| Summary: | %autosetup -pN parsing doesn't terminate at EOL | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Karel Srot <ksrot> |
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.7 | CC: | carl, ffesti, orion, praiskup, vmukhame |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1045723 | Environment: | |
| Last Closed: | 2017-10-10 14:01:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1355985, 1373252 | ||
|
Description
Karel Srot
2016-02-22 14:45:13 UTC
As no one was complaining about this bug before and making the fix now would put some builds in risk of breakage I am postponing it for 6.9 for now. %autosetup -p appears to be completely broken in EL6 - patches are not applied and I get: $ fedpkg local Could not execute local: Could not get n-v-r-e from '\n\n/bin/cat /home/orion/fedora/python3-pycurl/python3-pycurl-py3.patch | \n/usr/bin/patch -p1 -s\npython3-pycurl (none) 7.43.0 5.el6' Proposing for closing. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. With:
%autosetup -p1 -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
I've got something like this:
...
+ /bin/cat /builddir/build/SOURCES/0002-make-the-progress-bar-more-stable.patch
+ /usr/bin/patch -p1 -s# Remove bundled egg-in
...
So %autosetup seems to work at the time of writing this comment in epel-6,
but as a workaround one has to add additional new-line after %autosetup:
%autosetup -p1 -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
|