#80 spectool -S lists patches
Closed by ngompa. Opened by petersen.

Also reported for Fedora in https://bugzilla.redhat.com/show_bug.cgi?id=1926687

Version

rpmdevtools-9.3

Description of problem:

spectool is giving the same output for "-a", "-S", "-P"
ie all sources and patches get listed.

Similarly "spectool -g -S" also tries to download patches.

This doesn't happen with rpmdevtools-8.10.

Steps to Reproduce:

  1. spectool -S package.spec

Actual results:

Source0: https://upstream.org/download/package-version.tar.gz
Patch1: package-first-tweak.patch

Expected results:

Only source to be listed not patch

Additional info:

I haven't had a chance to test latest git to see if it could be fixed there.


Hm. I think the logic I had for the "--all" switch is wrong. I'll look into it.

This should fix the problem:

https://pagure.io/rpmdevtools/pull-request/81

@ngompa would it be possible to make a new release? There are a few bugfixes (including for this one) and rpmautospec support, which has now been deployed to prod.

Fixed and released in rpmdevtools-9.4

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

Metadata
Related Pull Requests