Bug 22009 - rpmdev-newspec creates wrong Release tag
Summary: rpmdev-newspec creates wrong Release tag
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-10 17:45 CET by Stig-Ørjan Smelror
Modified: 2019-02-20 18:08 CET (History)
1 user (show)

See Also:
Source RPM: rpmdevtools-8.10-1.mga6.src.rpm
CVE:
Status comment:


Attachments
test.spec created with rpmdev-newspec (414 bytes, text/plain)
2017-11-10 17:45 CET, Stig-Ørjan Smelror
Details

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


Note You need to log in before you can comment on or make changes to this bug.