Fix ftdetect file for vim (vim-ftdetect-syntax.patch)
This commit is contained in:
parent
b0f4a8a2f5
commit
2ad130f068
@ -1,6 +1,6 @@
|
||||
Name: augeas
|
||||
Version: 0.6.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A library for changing configuration files
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -12,6 +12,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: readline-devel libselinux-devel
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
Patch0: vim-ftdetect-syntax.patch
|
||||
|
||||
%description
|
||||
A library for programmatically editing configuration files. Augeas parses
|
||||
configuration files into a tree structure, which it exposes through its
|
||||
@ -43,6 +45,7 @@ The libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -83,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/augeas.pc
|
||||
|
||||
%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
|
||||
- Install vim syntax files
|
||||
|
||||
|
19
vim-ftdetect-syntax.patch
Normal file
19
vim-ftdetect-syntax.patch
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user