diff --git a/.gitignore b/.gitignore index 1ea6946..00137b5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /vim-gitgutter-0.20191207git1c53af9.tar.gz /vim-gitgutter-0.20200328git7c48aa1.tar.gz /vim-gitgutter-0.20200501gitb356cc9.tar.gz +/vim-gitgutter-0.20230901gitf7b9766.tar.gz diff --git a/sources b/sources index 7aa42b5..9d4793d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vim-gitgutter-0.20200501gitb356cc9.tar.gz) = 825e9a5534d20f54866bda2621f4a0d0dadee409d65274fd20738381dff2ad1521015984983585a2a94eaa9ae0bb959a1f30a3543a268e255beff363c56c628b +SHA512 (vim-gitgutter-0.20230901gitf7b9766.tar.gz) = 156399d3d9c781d63362eece5bdbf6a847ae4e2c41c3e2208ffed290c4bfaa2e0feb3f71d82a631f5629af919227b510d5e4d87baca039062cd0e4ed9cbafe6c diff --git a/vim-gitgutter.spec b/vim-gitgutter.spec index 323c3a7..f879341 100644 --- a/vim-gitgutter.spec +++ b/vim-gitgutter.spec @@ -1,11 +1,11 @@ -%global commit b356cc9a7da08ebeb919cd04b2831dad71a34d38 +%global commit f7b97666ae36c7b3f262f3190dbcd7033845d985 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global date 20200501 +%global date 20230901 Name: vim-gitgutter Version: 0 Release: 12.%{date}git%{shortcommit}.%autorelease -Summary: Shows a git diff in the gutter and stages/undoes hunks and partial hunks +Summary: Shows git diff markers in the sign column and stages/previews/undoes hunks License: MIT URL: https://github.com/airblade/vim-gitgutter @@ -19,13 +19,16 @@ BuildRequires: vim-filesystem Requires: vim-enhanced %description -A Vim plugin which shows a git diff in the 'gutter' (sign column). It shows -which lines have been added, modified, or removed. You can also preview, stage, -and undo individual hunks; and stage partial hunks. The plugin also provides a -hunk text object. +A Vim plugin which shows a git diff in the sign column. It shows which lines +have been added, modified, or removed. You can also preview, stage, and undo +individual hunks; and stage partial hunks. The plugin also provides a hunk +text object. The signs are always up to date and the plugin never saves your buffer. +The name "gitgutter" comes from the Sublime Text 3 plugin which inspired this +in 2013. + %prep %autosetup -n %{name}-%{commit} -p1 @@ -33,7 +36,7 @@ The signs are always up to date and the plugin never saves your buffer. %install mkdir -p %{buildroot}%{vimfiles_root} -cp -rp {autoload,plugin,unplace.vim} %{buildroot}%{vimfiles_root} +cp -rp {autoload,plugin} %{buildroot}%{vimfiles_root} install -m 0644 -Dp %{SOURCE1} %{buildroot}%{_metainfodir}/%{name}.metainfo.xml