Mailinglist Archive: opensuse-buildservice (89 mails)

< Previous Next >
[opensuse-buildservice] Re: questions re: creating & building minimal project/spec file
  • From: Andreas Schwab <schwab@xxxxxxxxxxxxxx>
  • Date: Fri, 24 Apr 2015 19:38:47 +0200
  • Message-id: <87fv7p8lzs.fsf@igel.home>
PGNd <dev@xxxxxxx> writes:

(3) The build fails @ %prep

[ 2s] /var/tmp/rpm-tmp.ZLrbSJ: line 34: cd:
openssl-local-1.0.2a: No such file or directory
[ 2s] error: Bad exit status from /var/tmp/rpm-tmp.ZLrbSJ


%setup -q

not appropriate? Or is the .tar.gz not properly handled?

%setup (without -n) assumes that the tarfile extracts to a directory
that is %{name}-%{version}. Since you have used %{basepkgname}-local
for the Name tag, this won't match what openssl-1.0.2a.tar.gz uses as
its toplevel directory.


Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups