Bug 1142849 - [RFE] include nginx vim files
Summary: [RFE] include nginx vim files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: nginx
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-17 13:59 UTC by Carl George
Modified: 2020-11-05 09:44 UTC (History)
6 users (show)

Fixed In Version: nginx-1.6.2-4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-22 20:23:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Carl George 2014-09-17 13:59:01 UTC
Goal:
Provide vim syntax highlighting for nginx configuration files.

Issue:
Upstream ships the vim files under the contrib/vim directory.  Why aren't these included in the nginx package?

Change proposal:
Add these snippets to the spec file in the relevant sections.
``` %install
for i in ftdetect syntax indent; do
    %{__install} -Dm644 contrib/vim/${i}/nginx.vim \
    %{buildroot}/%{_datadir}/vim/vimfiles/${i}/nginx.vim
done
```
``` %files
%{_datadir}/vim/vimfiles/ftdetect/nginx.vim
%{_datadir}/vim/vimfiles/syntax/nginx.vim
%{_datadir}/vim/vimfiles/indent/nginx.vim
```

Additional info:
This applies to EPEL5/6/7 and Fedora.

Comment 1 Jamie Nguyen 2014-10-22 18:09:58 UTC
Thanks for the bug report, Carl! Updates to follow.

Comment 2 Fedora Update System 2014-10-22 18:55:07 UTC
nginx-1.6.2-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/nginx-1.6.2-3.fc21

Comment 3 Fedora Update System 2014-10-22 20:03:42 UTC
nginx-1.6.2-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/nginx-1.6.2-4.fc21

Comment 4 Fedora Update System 2014-10-22 20:07:29 UTC
nginx-1.4.7-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/nginx-1.4.7-5.fc20

Comment 5 Fedora Update System 2014-10-22 20:07:50 UTC
nginx-1.4.7-5.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/nginx-1.4.7-5.fc19

Comment 6 Fedora Update System 2014-10-22 20:08:52 UTC
nginx-1.6.2-4.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/nginx-1.6.2-4.el7

Comment 7 Fedora Update System 2014-10-22 20:19:12 UTC
nginx-1.0.15-10.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/nginx-1.0.15-10.el6

Comment 8 Fedora Update System 2014-10-22 20:19:52 UTC
nginx-0.8.55-5.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/nginx-0.8.55-5.el5

Comment 9 Fedora Update System 2014-11-01 16:41:44 UTC
nginx-1.6.2-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-11-07 02:35:06 UTC
nginx-1.4.7-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-11-07 02:40:19 UTC
nginx-1.4.7-5.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-11-09 15:39:24 UTC
nginx-1.0.15-10.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2014-11-09 15:39:45 UTC
nginx-0.8.55-5.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2014-11-09 15:41:27 UTC
nginx-1.6.2-4.el7 has been pushed to the Fedora EPEL 7 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.