build: Update to latest git snapshot

build: Update summary and description
This commit is contained in:
Artem Polishchuk 2023-09-13 15:24:15 +03:00
commit a33a7527e7
3 changed files with 13 additions and 9 deletions

View file

@ -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