mirror of
https://abf.rosa.ru/djam/dolt.git
synced 2025-02-23 08:32:59 +00:00
1.41.1
This commit is contained in:
parent
6519aa6412
commit
869cfc3d97
2 changed files with 19 additions and 2 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
dolt-1.40.3.tar.gz: f40b6c92cbd279183bac0d0357ac92e12a905768
|
dolt-1.41.1.tar.gz: 3514b14a4f9f962e1c92559cedb7e8cea974ac4e
|
||||||
|
|
19
dolt.spec
19
dolt.spec
|
@ -1,8 +1,9 @@
|
||||||
%define debug %nil
|
%define debug %nil
|
||||||
%define debug_package %nil
|
%define debug_package %nil
|
||||||
|
%define secscan 1
|
||||||
|
|
||||||
Name: dolt
|
Name: dolt
|
||||||
Version: 1.40.3
|
Version: 1.41.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Git for Data
|
Summary: Git for Data
|
||||||
URL: https://github.com/dolthub/dolt
|
URL: https://github.com/dolthub/dolt
|
||||||
|
@ -13,6 +14,11 @@ BuildRequires: go >= 1.22
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: upx
|
BuildRequires: upx
|
||||||
|
|
||||||
|
%if %{secscan}
|
||||||
|
BuildRequires: clamav
|
||||||
|
BuildRequires: trivy
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Dolt is a SQL database that you can fork, clone, branch,
|
Dolt is a SQL database that you can fork, clone, branch,
|
||||||
merge, push and pull just like a Git repository. Connect
|
merge, push and pull just like a Git repository. Connect
|
||||||
|
@ -27,6 +33,11 @@ them to a remote, or merge your teammate's changes
|
||||||
# fix permissions
|
# fix permissions
|
||||||
find . -perm 0755 -type f -exec chmod 0644 {} \;
|
find . -perm 0755 -type f -exec chmod 0644 {} \;
|
||||||
|
|
||||||
|
%if %{secscan}
|
||||||
|
clamscan -ir .
|
||||||
|
trivy fs --scanners vuln --format cosign-vuln .
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export GOPROXY=https://proxy.golang.org/cached-only
|
export GOPROXY=https://proxy.golang.org/cached-only
|
||||||
pushd go
|
pushd go
|
||||||
|
@ -44,3 +55,9 @@ install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
go test ./...
|
||||||
|
|
||||||
|
%if %{secscan}
|
||||||
|
clamscan -ir %{buildroot}
|
||||||
|
%endif
|
Loading…
Add table
Reference in a new issue