Fix ftdetect file for vim (vim-ftdetect-syntax.patch)

This commit is contained in:
David Lutterkort 2009-12-16 02:05:02 +00:00
parent b0f4a8a2f5
commit 2ad130f068
2 changed files with 26 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: augeas Name: augeas
Version: 0.6.0 Version: 0.6.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: A library for changing configuration files Summary: A library for changing configuration files
Group: System Environment/Libraries Group: System Environment/Libraries
@ -12,6 +12,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: readline-devel libselinux-devel BuildRequires: readline-devel libselinux-devel
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
Patch0: vim-ftdetect-syntax.patch
%description %description
A library for programmatically editing configuration files. Augeas parses A library for programmatically editing configuration files. Augeas parses
configuration files into a tree structure, which it exposes through its configuration files into a tree structure, which it exposes through its
@ -43,6 +45,7 @@ The libraries for %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%configure --disable-static %configure --disable-static
@ -83,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/augeas.pc %{_libdir}/pkgconfig/augeas.pc
%changelog %changelog
* Tue Dec 15 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-2
- Fix ftdetect file for vim
* Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1 * Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1
- Install vim syntax files - Install vim syntax files

19
vim-ftdetect-syntax.patch Normal file
View File

@ -0,0 +1,19 @@
From 81552d12ea1d6fc19ccb9a7d7e57ff09af74ce60 Mon Sep 17 00:00:00 2001
From: David Lutterkort <lutter@redhat.com>
Date: Mon, 14 Dec 2009 14:38:11 -0800
Subject: [PATCH] * doc/ftdetect/augeas.vim: fix syntax
---
doc/ftdetect/augeas.vim | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/ftdetect/augeas.vim b/doc/ftdetect/augeas.vim
index 2520eb8..7120691 100644
--- a/doc/ftdetect/augeas.vim
+++ b/doc/ftdetect/augeas.vim
@@ -1 +1 @@
-au BufNewFile?,BufRead? *.aug set filetype=augeas
+au BufNewFile,BufRead *.aug set filetype=augeas
--
1.6.5.2