[Rpm-maint] [rpm-software-management/rpm] %autopatch -p1 fails with rpmbuild 4.14.90 (#484)

Panu Matilainen notifications at github.com
Tue Aug 7 07:00:01 UTC 2018


Hmm, looking closer, the failing patch is being applied in %build, but in the success-case it's applied in %prep as it should. 
```
Ausführung(%build): /bin/sh -e /usr/local/var/tmp/rpm-tmp.Csyt4w
+ umask 022
+ cd /home/andreas/Work/rpm/BUILD
+ cd anschrift
+ + /usr/bin/git/bin/cat apply --index /home/andreas/Work/rpm/SOURCES/0001-Ich-will-Rechnungen-schreiben-nicht-Schach-spielen.patch -
```
Also the example spec here has:
```
%build
# %%autopatch may only be used in %%prep, so this section remains empty
```

Perhaps you accidentally tested different things on 4.12 vs 4.14. Mind you there *are* quite significant macro-related changes in 4.14 that can break existing macros (expansion of macro arguments being the bigger ones).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/484#issuecomment-410954524
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180807/9272fc85/attachment-0001.html>


More information about the Rpm-maint mailing list