diff --git a/vim-8.0-rhbz1365258.patch b/vim-8.0-rhbz1365258.patch new file mode 100644 index 0000000..85498db --- /dev/null +++ b/vim-8.0-rhbz1365258.patch @@ -0,0 +1,12 @@ +diff -up vim80/runtime/syntax/fstab.vim.1365258 vim80/runtime/syntax/fstab.vim +--- vim80/runtime/syntax/fstab.vim.1365258 2016-12-15 10:56:25.822410344 +0100 ++++ vim80/runtime/syntax/fstab.vim 2016-12-15 10:56:52.161519612 +0100 +@@ -36,6 +36,8 @@ syn match fsOperator /[,=:#]/ + syn cluster fsDeviceCluster contains=fsOperator,fsDeviceKeyword,fsDeviceError + syn match fsDeviceError /\%([^a-zA-Z0-9_\/#@:\.-]\|^\w\{-}\ze\W\)/ contained + syn keyword fsDeviceKeyword contained none proc linproc tmpfs devpts devtmpfs sysfs usbfs ++syn keyword fsDeviceKeyword contained PARTLABEL nextgroup=fsDeviceLabel ++syn keyword fsDeviceKeyword contained PARTUUID nextgroup=fsDeviceUUID + syn keyword fsDeviceKeyword contained LABEL nextgroup=fsDeviceLabel + syn keyword fsDeviceKeyword contained UUID nextgroup=fsDeviceUUID + syn keyword fsDeviceKeyword contained sshfs nextgroup=fsDeviceSshfs diff --git a/vim.spec b/vim.spec index 2288c15..c167ac1 100644 --- a/vim.spec +++ b/vim.spec @@ -21,7 +21,7 @@ Summary: The VIM editor URL: http://www.vim.org/ Name: vim Version: %{baseversion}.%{patchlevel} -Release: 1%{?dist} +Release: 2%{?dist} License: Vim Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2 @@ -63,6 +63,7 @@ Patch3011: vim-manpagefixes-948566.patch Patch3012: vim-7.4-licensemacro-1151450.patch Patch3013: vim-7.4-globalsyntax.patch Patch3014: vim-7.4-releasestring-1318991.patch +Patch3015: vim-8.0-rhbz1365258.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel python3-devel ncurses-devel gettext perl-devel @@ -216,6 +217,7 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk %patch3012 -p1 %patch3013 -p1 %patch3014 -p1 +%patch3015 -p1 %build cp -f %{SOURCE6} . @@ -754,6 +756,9 @@ rm -rf %{buildroot} %{_datadir}/icons/locolor/*/apps/* %changelog +* Thu Dec 15 2016 Karsten Hopp - 8.0.133-2 +- fix fstab syntax highlighting (rhbz#1365258) + * Mon Dec 12 2016 Karsten Hopp 8.0.133-1 - patchlevel 133