Jiri Slaby 2022-08-05 09:17:36 +00:00 committed by Git OBS Bridge
parent 9d1d576382
commit 7a0a923da4
15 changed files with 87 additions and 35 deletions

View File

@ -5,7 +5,6 @@
<param name="versionformat">@PARENT_TAG@+%cd</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">559088afaf10124ea663ee0f4f73b1de48fb1632</param>
</service>
<service name="tar" mode="buildtime">
<param name="obsinfo">file-line.obsinfo</param>
@ -15,7 +14,7 @@
<param name="url">https://github.com/neomutt/neomutt.vim.git</param>
<param name="scm">git</param>
<param name="versionformat">%cd</param>
<param name="revision">15b06057a75e5b648b1c1c692c870bc7f052d0c9</param>
<param name="revision">origin/main</param>
</service>
<service name="tar" mode="buildtime">
<param name="obsinfo">neomutt.vim.obsinfo</param>
@ -25,7 +24,6 @@
<param name="url">https://github.com/saltstack/salt-vim.git</param>
<param name="scm">git</param>
<param name="versionformat">%cd</param>
<param name="revision">6ca9e3500cc39dd417b411435d58a1b720b331cc</param>
</service>
<service name="tar" mode="buildtime">
<param name="obsinfo">salt-vim.obsinfo</param>
@ -37,7 +35,6 @@
<param name="versionformat">@PARENT_TAG@+%cd</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="revision">0760891c71e4c332d0b07704f2356bc4f56a7128</param>
</service>
<service name="tar" mode="buildtime">
<param name="obsinfo">vim-latex.obsinfo</param>
@ -47,7 +44,6 @@
<param name="url">https://github.com/plasticboy/vim-markdown</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@+%cd</param>
<param name="revision">50d42082819cfa91745b6eff6e28ad5cbc8b27fa</param>
</service>
<service name="tar" mode="buildtime">
<param name="obsinfo">vim-markdown.obsinfo</param>

43
check_for_updates.pl Normal file
View File

@ -0,0 +1,43 @@
#!/usr/bin/perl
use warnings;
use strict;
use Data::Dumper;
use JSON;
use LWP::UserAgent;
open(SPEC, '<vim-plugins.spec') or die "cannot open spec";
my $spec;
{
local $/ = undef;
$spec = <SPEC>;
}
close(SPEC);
my $child = open(SPEC, '-|', qw|rpm -E|, $spec) // die "cannot run rpm";
exit 0 unless ($child);
my $ua = LWP::UserAgent->new;
my $json = JSON->new->allow_nonref;
while (<SPEC>) {
chomp;
my ($org, $repo, $rel, $ver) = (m@^Source\d+:\s+https://github\.com/([^/]+)/([^/]+)/(?:archive/refs/tags|releases/download/([^/]+))/([^/]+)\.tar\.gz#@);
next unless defined $ver;
$ver = $rel if defined $rel;
my $req_url = defined $rel ? 'releases/latest' : 'tags';
my $req = HTTP::Request->new(GET => "https://api.github.com/repos/$org/$repo/$req_url");
my $res = $ua->request($req);
die "bad HTTP reply for $org/$repo -- \"" . $res->status_line . '"' unless ($res->is_success);
my $j = $json->decode($res->content);
$j = @{$j}[0] unless (defined $rel);
my $ver2 = $j->{'name'} || $j->{'tag_name'};
if ($ver2 ne $ver) {
print "$org, $repo, $ver -> $ver2\n";
}
}
close(SPEC);
1;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d68ba5f6b0734be236c7f4b0cc588e9ab07b594474f62728c72369e6ef72117e
size 92683

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a951da2d1501cb50d02e801f6d0349c6a95a762de7f5e4af2eb5f5bc6a28b685
size 93195

View File

@ -1,4 +1,4 @@
name: neomutt.vim
version: 20210218
mtime: 1613614995
commit: 15b06057a75e5b648b1c1c692c870bc7f052d0c9
version: 20220612
mtime: 1655060512
commit: 4f87a1e1fa3e4b343558594f3b5490cd028b8718

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef6881ef3003e63e679f06b4b4349944acd284eb783496747cf12363e717bdb6
size 1012236

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25f81b34a00b74299b4e0c55ea2e5da25250f0b5318ccd9d434ecc9f8c1e9d14
size 1012236

View File

@ -1,4 +1,4 @@
name: vim-latex
version: 1.10.0+20210818
mtime: 1629271826
commit: 0760891c71e4c332d0b07704f2356bc4f56a7128
version: 1.10.0+20220519
mtime: 1652983369
commit: 069a26a0963adb6a9de9f40f5a7332c7207d5423

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cc73ca8340ddf54c83053ba200965cf2e6b26438904b74e5d91f6027d044e7c
size 157195

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2ed26bab1612ac38c5ca371d506ebdd2b26fd43c14918f1fad89f617218fb77
size 161291

View File

@ -1,4 +1,4 @@
name: vim-markdown
version: 2.0.0+20220129
mtime: 1643455211
commit: 50d42082819cfa91745b6eff6e28ad5cbc8b27fa
version: 2.0.0+20220507
mtime: 1651922706
commit: 3a9643961233c2812816078af8bd1eaabc530dce

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Aug 5 09:15:57 UTC 2022 - Jiri Slaby <jslaby@suse.cz>
- update
* bufexplorer 7.4.24
* editorconfig 1.1.1
* fugitive 3.7
* latex 1.10.0+20220519
* markdown 2.0.0+20220507
* neomutt 20220612
- add check_for_updates.pl script
-------------------------------------------------------------------
Wed Mar 9 08:38:55 UTC 2022 - Jiri Slaby <jslaby@suse.cz>

View File

@ -20,24 +20,24 @@
%define align_version_orig 37-43
%define align_version 37.43
%define a_version 2.18
%define bufexplorer_version 7.4.21
%define bufexplorer_version 7.4.24
%define calendar_version 2.5
%define colorsel_version 20110107
%define colorschemes_version 1.0
%define diffchanges_tag 346dae2
%define diffchanges_version 0.6+g346dae2
%define editorconfig_version 0.3.3
%define editorconfig_version 1.1.1
%define file_line_version 1.0+20161020
%define fugitive_version 3.4
%define fugitive_version 3.7
%define gitdiff_version 2
%define gnupg_version 2.7.1
%define latex_version 1.10.0+20210818
%define latex_version 1.10.0+20220519
%define locateopen_version 1.3
%define markdown_version 2.0.0+20220129
%define markdown_version 2.0.0+20220507
%define matrix_version 1.10
%define minibufexpl_version 6.3.2
%define multiplesearch_version 1.3
%define neomutt_version 20210218
%define neomutt_version 20220612
%define NERDcommenter_version 2.6.0
%define NERDtree_version 6.10.16
%define project_version 1.4.1
@ -95,9 +95,9 @@ Source29: https://github.com/jamessan/vim-gnupg/releases/download/v%{gnupg
Source30: https://github.com/vim-scripts/gitdiff.vim/archive/refs/tags/%{gitdiff_version}.tar.gz#/vimplugin-gitdiff-%{gitdiff_version}.tar.gz
Source31: https://github.com/vim-scripts/snipMate/archive/refs/tags/%{snipmate_version}.tar.gz#/vimplugin-snipmate-%{snipmate_version}.tar.gz
Source32: https://github.com/vim-scripts/rails.vim/archive/refs/tags/%{rails_version}.tar.gz#/vimplugin-rails-%{rails_version}.tar.gz
Source33: https://github.com/mileszs/ack.vim/archive/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz
Source34: https://github.com/editorconfig/editorconfig-vim/archive/v%{editorconfig_version}.tar.gz#/vimplugin-editorconfig-%{editorconfig_version}.tar.gz
Source35: https://github.com/tpope/vim-fugitive/archive/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz
Source33: https://github.com/mileszs/ack.vim/archive/refs/tags/%{ack_version}.tar.gz#/vimplugin-ack-%{ack_version}.tar.gz
Source34: https://github.com/editorconfig/editorconfig-vim/archive/refs/tags/v%{editorconfig_version}.tar.gz#/vimplugin-editorconfig-%{editorconfig_version}.tar.gz
Source35: https://github.com/tpope/vim-fugitive/archive/refs/tags/v%{fugitive_version}.tar.gz#/vimplugin-fugitive-%{fugitive_version}.tar.gz
# from _service
Source100: file-line-%{file_line_version}.tar.xz
Source101: vim-markdown-%{markdown_version}.tar.xz
@ -106,6 +106,7 @@ Source103: salt-vim-%{salt_version}.tar.xz
Source104: vim-latex-%{latex_version}.tar.xz
Source200: gitrebase.vim
Source1000: https://raw.githubusercontent.com/openSUSE/pack-tools/master/contrib/vim/spec.snippets
Source1001: check_for_updates.pl
Patch1: locateopen-1.3-locate-support.patch
Patch2: showmarks-signs.patch
Patch3: file-line-Fix-other-plugins-loading.patch

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fd579672c426a089835e9bc57a1fd5fc18dba77c014b67141153372e83c92c57
size 35395

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb8be206659e6fb3bab9df66fe9b80c14265325e3d9a4bbaad7c63058c2ba558
size 33287