[Mageia-dev] get-skype package for submission

Barry Jackson zen25000 at zen.co.uk
Sat Jun 11 18:13:16 CEST 2011


On 11/06/11 09:14, Anssi Hannula wrote:
---------snip---------
> Probably the easiest way is to use a fixed location under
> %{_localstatedir}/lib/%{name} for the tarball instead. Then you can use
> mktemp locally in %post.
>
> Also, is there a need to use -q for mktemp?
>

Thanks - that works fine and is certainly the least complicated way to 
do this. I could have created a script for use in %post while in %pre, 
but it would have made the spec harder to read.

I have dealt with all the points you raised in the attached spec which 
is working OK.
Please dissect it and comment again if you see any blunders ;)

I will update the tar.gz in the bug report with this latest version.

Barry

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: get-skype.spec
URL: </pipermail/mageia-dev/attachments/20110611/87fe5693/attachment-0001.ksh>


More information about the Mageia-dev mailing list