Bug 1697104 - new spec file template contains deprecated tags
Summary: new spec file template contains deprecated tags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vim
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-07 14:37 UTC by Petr Menšík
Modified: 2019-04-13 15:32 UTC (History)
3 users (show)

Fixed In Version: vim-8.1.1137-1.fc29
Clone Of:
Environment:
Last Closed: 2019-04-13 15:32:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Menšík 2019-04-07 14:37:17 UTC
Description of problem:
Vim provides new template when asked to edit non-existent spec file.

However, that spec file includes Group tag, which is not recommended. Should not be present for new packages.

Version-Release number of selected component (if applicable):
vim-common-8.1.1099-1.fc29.x86_64

How reproducible:
always

Steps to Reproduce:
1. vim /tmp/new.spec
2.
3.

Actual results:
Contains Group:

Expected results:
Does not contain Group:

Additional info:
Installed template is part of vim-common, path /usr/share/vim/vimfiles/template.spec.

I think comment with link to Packaging guidelines would be useful in new spec files [1] or new package guidelines [2].
Please use Release: 0. After rpmdev-bumpspec it would contain correct changelog format and Release 1.

1. https://docs.fedoraproject.org/en-US/packaging-guidelines
2. https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/

Comment 1 Zdenek Dohnal 2019-04-08 11:38:06 UTC
Hi Petr!

Thank you for reporting the issue! It will be issued in next Vim update (arriving in a hour or so).

Comment 2 Fedora Update System 2019-04-08 12:29:54 UTC
vim-8.1.1137-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3f4706e604

Comment 3 Fedora Update System 2019-04-09 03:13:50 UTC
vim-8.1.1137-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3f4706e604

Comment 4 Fedora Update System 2019-04-13 15:32:39 UTC
vim-8.1.1137-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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