Did anyone notice when storing files as #/NAME get broken?
Arkadiusz Miśkiewicz
arekm at maven.pl
Sun Dec 4 19:53:34 CET 2016
On Sunday 04 of December 2016, Elan Ruusamäe wrote:
> 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-c
> > l/zipball/0.6#/%{name}-%{version}.zip
>
> rpm5 treats # as comment on that line
>
> ...and we have had rpm5 for over 4 years already!
Doh! Tons of broken specs then.
> 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.
The problem is like this:
http://pkgs.fedoraproject.org/cgit/rpms/kicad.git/plain/kicad.spec
Over 70 sources in one spec, each needing custom name.
--
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )
More information about the pld-devel-en
mailing list