On 1/23/21 10:44 AM, Cătălin George Feștilă wrote:
[mythcat@desk SPECS]$ rpmbuild --undefine=_disable_source_fetch -ba
krita.spec
setting SOURCE_DATE_EPOCH=1611360000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z7ah5Y
+ umask 022
+ cd /home/mythcat/rpmbuild/BUILD
+ cd /home/mythcat/rpmbuild/BUILD
+ rm -rf krita-4.2.2
+ /usr/bin/gzip -dc /home/mythcat/rpmbuild/SOURCES/krita-4.4.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd krita-4.2.2
/var/tmp/rpm-tmp.Z7ah5Y: line 39: cd: krita-4.2.2: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.Z7ah5Y (%prep)
I'm guessing that you have modified that spec file to compile a newer
version. However, you didn't change the version numbers in all the
places. Usually, spec files use defines for that, but apparently not in
this one.