Did anyone notice when storing files as #/NAME get broken?

Elan Ruusamäe glen at pld-linux.org
Sun Dec 4 19:49:09 CET 2016


On 04.12.2016 20:43, Arkadiusz Miśkiewicz wrote:
> Did anyone notice when storing files as #/NAME get broken?
>
> For example:
>
> pastebin-cl/pastebin-cl.spec:Source0:https://github.com/tupton/pastebin-cl/zipball/0.6#/%{name}-%{version}.zip
rpm5 treats # as comment on that line

...and we have had rpm5 for over 4 years already!

so, file fetched by distfiles will be named 0.6 in your example.

so if you dot want to let distfiles fetch another copy, omit everything 
and including the hash character on that url.

-- 
glen



More information about the pld-devel-en mailing list