spectool should autocreate its target directory if it does not exist yet, instead of letting curl barf because it’s instructed to download to an inexistent location (typically, when using spectool -R).
spectool -R
The spectool implementation has been completely replaced. Please try the new implementation and see if it solves your problems!
Unfortunately, that is still broken
$ rpmdev-spectool -R -g ~/fedora/fedpkg/fonts-rpm-macros/fonts-rpm-macros.spec Downloading: https://pagure.io/fork/nim/fonts-rpm-macros/archive/670c626fdf74d54edc6a9796f66541eb2feed96a/nim-fonts-rpm-macros-670c626fdf74d54edc6a9796f66541eb2feed96a.tar.gz Download failed: [Errno 2] No such file or directory: '/var/lib/builder/rpmbuild/SOURCES/%{name}/nim-fonts-rpm-macros-670c626fdf74d54edc6a9796f66541eb2feed96a.tar.gz'
Should be fixed now.
Metadata Update from @ngompa: - Issue status updated to: Closed (was: Open)
The new implementation works fine with the few specs I tested it with, thank you very much.
Login to comment on this ticket.