generated from demus/golang-rpm
Compare commits
No commits in common. "main" and "8e0cef2d278e0c384f70197fe74218ae8d6d2b7e" have entirely different histories.
main
...
8e0cef2d27
@ -2,7 +2,7 @@
|
|||||||
## (rpmautospec version 0.6.5)
|
## (rpmautospec version 0.6.5)
|
||||||
## RPMAUTOSPEC: autorelease, autochangelog
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
release_number = 22;
|
release_number = 21;
|
||||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
print(release_number + base_release_number - 1);
|
print(release_number + base_release_number - 1);
|
||||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||||
@ -39,13 +39,9 @@ License: ASL 2.0
|
|||||||
URL: %{gourl}
|
URL: %{gourl}
|
||||||
Source0: %{gosource}
|
Source0: %{gosource}
|
||||||
|
|
||||||
BuildRequires: golang(github.com/davecgh/go-spew/spew) >= 1.1.1
|
%if %{without bootstrap}
|
||||||
BuildRequires: golang(k8s.io/klog/v2) >= 2.80.1
|
%generate_buildrequires
|
||||||
|
%go_generate_buildrequires
|
||||||
%if %{with check}
|
|
||||||
# Tests
|
|
||||||
BuildRequires: golang(github.com/spf13/afero)
|
|
||||||
BuildRequires: golang(github.com/stretchr/testify/assert)
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
BIN
utils-3ea5e8cea73810f6d2951b37183cf91e19f63455.tar.gz
Normal file
BIN
utils-3ea5e8cea73810f6d2951b37183cf91e19f63455.tar.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user