#39 spectool does not create the target subdirectory
Closed 3 years ago by ngompa. Opened 5 years ago by nim.

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).


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'

Metadata Update from @ngompa:
- Issue status updated to: Closed (was: Open)

3 years ago

The new implementation works fine with the few specs I tested it with, thank you very much.

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #56 Merged 3 years ago