mirror of
https://abf.rosa.ru/djam/asdf.git
synced 2025-02-23 17:12:54 +00:00
This commit is contained in:
parent
b39800b349
commit
c7085fb366
2 changed files with 17 additions and 16 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
asdf-0.15.0.tar.gz: 4bb47ee314ebee807c8f82514a5d06299ef8e007
|
asdf-0.16.0.tar.gz: 71858e34f0b978afa5bd5a0a2c86edba897e753e
|
||||||
|
|
31
asdf.spec
31
asdf.spec
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
|
|
||||||
Name: asdf
|
Name: asdf
|
||||||
Version: 0.15.0
|
Version: 0.16.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Manage multiple runtime versions
|
Summary: Manage multiple runtime versions
|
||||||
URL: https://asdf-vm.com
|
URL: https://asdf-vm.com
|
||||||
|
@ -14,10 +14,11 @@ Source1000: %{name}.rpmlintrc
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Other
|
Group: Development/Other
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
#BuildRequires: go
|
Conflicts: %{name} <= 0.15
|
||||||
#BuildRequires: git-core
|
BuildRequires: go
|
||||||
#BuildRequires: upx
|
BuildRequires: git-core
|
||||||
#BuildRequires: pkgconfig(openssl3.3)
|
BuildRequires: upx
|
||||||
|
BuildRequires: pkgconfig(openssl3.3)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Manage multiple runtime versions with a single CLI tool,
|
Manage multiple runtime versions with a single CLI tool,
|
||||||
|
@ -32,25 +33,25 @@ plugin!
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#export GOSUMDB=off
|
export GOSUMDB=off
|
||||||
#export GOPROXY=direct
|
export GOPROXY=direct
|
||||||
#go build --ldflags='-s -X main.version=%{version}' -o bin/%{name} ./cmd/%{name}
|
go build --ldflags='-s -w -X main.version=%{version}' -o bin/%{name} ./cmd/%{name}
|
||||||
|
|
||||||
#upx bin/%{name}
|
#upx bin/%{name}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
install -Dm0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
|
|
||||||
install -d %{buildroot}%{_asdfdir} %{buildroot}%{_bindir}
|
#install -d %{buildroot}%{_asdfdir} %{buildroot}%{_bindir}
|
||||||
|
|
||||||
cp -a bin/asdf help.txt version.txt lib %{buildroot}%{_asdfdir}
|
#cp -a bin/asdf help.txt version.txt lib %{buildroot}%{_asdfdir}
|
||||||
|
|
||||||
pushd %{buildroot}%{_bindir}
|
#pushd %{buildroot}%{_bindir}
|
||||||
ln -s ../..%{_asdfdir}/%{name} %{name}
|
#ln -s ../..%{_asdfdir}/%{name} %{name}
|
||||||
popd
|
#popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md LICENSE docs/*.md docs/manage docs/guide docs/more docs/plugins docs/contribute help.txt
|
%doc README.md LICENSE docs/*.md docs/manage docs/guide docs/more docs/plugins docs/contribute help.txt
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_asdfdir}/*
|
#{_asdfdir}/*
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue