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 1884284

Summary: rpmdev-newspec: "sed: -e expression #1, char 347: unknown command: `f'"
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: rpmdevtoolsAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: bugs.michael, decathorpe, dennis, kevin, ngompa13, praiskup, redhat-bugzilla, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpmdevtools-9.2-1.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-06 00:16:35 UTC 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 2020-10-01 14:49:10 UTC
Description of problem:
In Fedora 33, rpmdev-newspec gives a sed error
and fails generating an empty file.

Version-Release number of selected component (if applicable):
rpmdevtools-9.1-1.fc33

How reproducible:
100%

Steps to Reproduce:
1. rpmdev-newspec

Actual results:
sed: -e expression #1, char 347: unknown command: `f'
newpackage.spec created; type minimal, rpm version >= 4.16.

newpackage.spec is empty.

Expected results:
No error, and complete skeleton spec file

Additional info:
In F32, rpmdevtools-8.10-10.fc32 still working fine.

Comment 1 Fedora Update System 2020-10-05 22:50:23 UTC
FEDORA-2020-518278a39e has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-518278a39e

Comment 2 Fedora Update System 2020-10-06 00:16:35 UTC
FEDORA-2020-518278a39e has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Pavel Raiskup 2020-10-06 13:55:25 UTC
*** Bug 1885510 has been marked as a duplicate of this bug. ***