https://bugzilla.redhat.com/show_bug.cgi?id=1491216 --- Comment #13 from Pavlina Moravcova Varekova <pmoravco@xxxxxxxxxx> --- When I tried to use: > %autosetup -n %{name}-%{name}-%{version} inside the spec file command >rpmbuild -ba 5minute.spec returned an error: >.... >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd 5minute-5minute-0.2.18 >/var/tmp/rpm-tmp.DTVZAm: line 38: cd: 5minute-5minute-0.2.18: No such file or directory > > >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.uIHOOw (%prep) With > %autosetup -n %{name}-%{version} command > rpmbuild -ba 5minute.spec worked correctly: >.... >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd 5minute-0.2.18 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ exit 0 >.... (I find the construction "-n %{name}-%{version}" in some existing spec files e.g. vrms-rpm.spec, libvmi.spec, osmium-tool.spec) -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx