Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1926687

Summary: "spectool -S" lists patches
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: rpmdevtoolsAssignee: Neal Gompa <ngompa13>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: bugs.michael, decathorpe, dennis, jskarvad, kevin, ngompa13, twoerner, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2021-02-09 09:26:45 UTC
Description of problem:
spectool gives the same output for "-a", "-S", "-P"
ie all sources and patches get listed.

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

This is a regression wrt to F32 (rpmdevtools-8.10)

Version-Release number of selected component (if applicable):
rpmdevtools-9.3-3.fc33
rpmdevtools-9.3-4.fc34

How reproducible:
100%

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:
Doesn't happen in F32.

Comment 1 Jens Petersen 2021-02-09 09:31:40 UTC
Also reported upstream now in https://pagure.io/rpmdevtools/issue/80

Comment 2 Vít Ondruch 2021-06-04 10:23:53 UTC
Can we have the https://pagure.io/rpmdevtools/pull-request/81 applied, please?