[Rpm-maint] [rpm-software-management/rpm] spec rename downloaded source to avoid name conflict (Discussion #3568)
Michal Domonkos
notifications at github.com
Wed Feb 26 10:32:59 UTC 2025
`rpmbuild` itself doesn't download the sources (unless told to by undefining the `%{_disable_source_fetch}` macro but that's nowadays discouraged due to the lack of any integrity checks) so it's the packager's job to provide them in the `%{_sourcedir}`. Whether that's done manually or with something like `spectool -g` or `fedpkg` is beyond the realm of `rpmbuild`.
Now, specifying the full originating URL in a `Source` tag of course is good practice and something that we support, and if you can't control the URL, you might indeed stumble upon such a conflicting filename issue like described. This is tracked in #372.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/3568#discussioncomment-12324064
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/3568/comments/12324064 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250226/9eee7243/attachment.htm>
More information about the Rpm-maint
mailing list