If spectool cannot download sources, it prints an error, but does return a non-zero exit code. Here I injected a nonexistant version "0.X22": $ spectool -g perl-XS-Parse-Keyword.spec Downloading: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.X22.tar.gz Download failed: 404 Client Error: Not Found for url: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/XS-Parse-Keyword-0.X22.tar.gz - 0.0 B Elapsed Time: 0:00:00 $ echo $? 0 Tested with rpmdevtools-9.6-1.fc35.noarch.
s/does return/does NOT return/
As we include upstream spectool without modifications, can you please file this bug with the upstream project? https://pagure.io/rpmdevtools
I cannot. Fedora IDP does recongize my Kerberos ticket.
Fedora IDP does not recongize my Kerberos ticket.
Okay, I found the problem, and I've submitted a PR to fix it: https://pagure.io/rpmdevtools/pull-request/95 Do you think spectool should abort after the first failed download? Or should it try all files first, and just return with a non-zero exit code if any of them failed?
I think it should exit at a first error without trying other sources.
This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '35'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 35 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
This is still an issue in rpmdevtools-9.6-2.fc38.noarch.
This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Still not fixed in rpmdevtools-9.6-3.fc38.noarch.
This message is a reminder that Fedora Linux 37 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '37'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 37 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Still broken in rpmdevtools-9.6-4.fc39.