Dnia sobota, 26 kwietnia 2014 11:29:26 [email protected] pisze:

> Please consider it as a emergency for packaging.


By default rpm uses wget to download sources, as wget is easy and simple tool 
for simple downloads, also it does not bloat build chroot like curl does.

speaking of curl, it has the ability to follow HTTPS redirections by adding -L 
switch.

curl -L www.exmaple.com/

example:
zsh downlad link looks like that:
http://downloads.sourceforge.net/project/zsh/zsh/5.0.5/zsh-5.0.5.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fzsh%2F%3Fsource%3Ddirectory&ts=1398529729&use_mirror=garr

using below modification works 100%
wget http://downloads.sourceforge.net/project/zsh/zsh/5.0.5/zsh-5.0.5.tar.bz2

Issue lies in wrong urls for Source[0-9]: links in spec files especially when 
they were never updated like sourceforge.net changed it's policy on how to 
store files on their servers.


-- 
Cheers
TPG

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to