Bug 22009

Summary: rpmdev-newspec creates wrong Release tag
Product: Mageia Reporter: Stig-Ørjan Smelror <smelror>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: rpmdevtools-8.10-1.mga6.src.rpm CVE:
Status comment:
Attachments: test.spec created with rpmdev-newspec

Description Stig-Ørjan Smelror 2017-11-10 17:45:21 CET
I have used rpmdev-newspec a few times when I want to start from scratch and see that it creates

Release: 1%{dist}

instead of

Release: %mkrel 1

Cheers,
Stig
Comment 1 Stig-Ørjan Smelror 2017-11-10 17:45:58 CET
Created attachment 9781 [details]
test.spec created with rpmdev-newspec

$ rpmdev-newspec test.spec
test.spec created; type minimal, rpm version >= 4.13.
Comment 2 Marja Van Waes 2017-11-10 22:38:58 CET
Assigning to the registered rpmdevtools maintainer.

CC: (none) => marja11
Assignee: bugsquad => rverschelde

Comment 3 Stig-Ørjan Smelror 2017-11-11 18:48:19 CET
Hi.

Created my own /etc/rpmdevtools/spectemplate-mageia.conf and added

DEFTYPE=mageia to
~/.config/rpmdevtools/newspec.conf

It's a hack, but it works.

If anybody wants my spectemplate-mageia.conf, please let me know.

Cheers,
Stig
Comment 4 Stig-Ørjan Smelror 2019-02-20 18:08:07 CET
Closing as Old.

Resolution: (none) => OLD
Status: NEW => RESOLVED