mirror of
https://abf.rosa.ru/djam/dolt.git
synced 2025-02-23 02:52:48 +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:
|
||||
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_package %nil
|
||||
%define secscan 1
|
||||
|
||||
Name: dolt
|
||||
Version: 1.40.3
|
||||
Version: 1.41.1
|
||||
Release: 1
|
||||
Summary: Git for Data
|
||||
URL: https://github.com/dolthub/dolt
|
||||
|
@ -13,6 +14,11 @@ BuildRequires: go >= 1.22
|
|||
BuildRequires: git-core
|
||||
BuildRequires: upx
|
||||
|
||||
%if %{secscan}
|
||||
BuildRequires: clamav
|
||||
BuildRequires: trivy
|
||||
%endif
|
||||
|
||||
%description
|
||||
Dolt is a SQL database that you can fork, clone, branch,
|
||||
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
|
||||
find . -perm 0755 -type f -exec chmod 0644 {} \;
|
||||
|
||||
%if %{secscan}
|
||||
clamscan -ir .
|
||||
trivy fs --scanners vuln --format cosign-vuln .
|
||||
%endif
|
||||
|
||||
%build
|
||||
export GOPROXY=https://proxy.golang.org/cached-only
|
||||
pushd go
|
||||
|
@ -44,3 +55,9 @@ install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
|||
%{_bindir}/%{name}
|
||||
|
||||
|
||||
%check
|
||||
go test ./...
|
||||
|
||||
%if %{secscan}
|
||||
clamscan -ir %{buildroot}
|
||||
%endif
|
Loading…
Add table
Reference in a new issue