[packman] weirdness building portaudio
Stefan Botter
jsj at jsj.dyndns.org
Mon Feb 3 09:14:23 CET 2014
Hi Yevgeny,
On Sun, 02 Feb 2014 16:10:06 +0200
Yevgeny <musicsuse at gmx.com> wrote:
> Strangely, PMBS cannot build libportaudiocpp because of this error:
> error: File /home/abuild/rpmbuild/SOURCES/pa_stable_v19_20111121.tgz:
> No such file or directory
>
> i uploaded a very updated pa_stable_*.tgz file, what happened?
The spec file lists
http://www.portaudio.com/archives/pa_stable_v19_20111121.tgz
as Source0, so it takes this file for compiling.
The Release entry should not be used to set a "real" revision
number, the build system modifies the number on its own, see:
http://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks#How_to_control_a_Release_number_of_resulted_packages
You should define something like
%define co_version 20140130
set
Release: 0
and define the package source as
Source0:
http://www.portaudio.com/archives/pa_stable_%{version}_%{co_version}.tgz
Also it might be a good idea to repack the tgz into a tar.bz2 (or
whatever compression tool is used now).
Greetings,
Stefan
--
Stefan Botter zu Hause
Bremen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20140203/ef4be00e/attachment.sig>
More information about the Packman
mailing list