https://bugzilla.redhat.com/show_bug.cgi?id=2177855



--- Comment #12 from Petr Pisar <[email protected]> ---
I see. The server sends a preferred file name with "Content-Disposition:
attachment; filename="libXISF-v0.2.0.tar.gz";
filename*=UTF-8''libXISF-v0.2.0.tar.gz" HTTP header. It's up to an HTTP client
whether it will do the rename or not. E.g. wget, I used for examining the URL,
does not do that (by default). "spectool -g libXISF.spec", a tool native to
RPM, also does not do that. rpmbuild does not download any sources. I cannot
see a problem. However, if you use an HTTP client which does the rename, you
can instruct rpmbuild and spectool to rename with:

Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz

That should align rpmbuild with a downloader of your choice.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2177855
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to