File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55################################################################################
66
7+ %global crc_check pushd ../SOURCES ; sha512sum -c %{SOURCE100 } ; popd
8+
9+ ################################################################################
10+
711%define debug_package %{nil }
812
913################################################################################
@@ -52,6 +56,8 @@ URL: https://kaos.sh/sslcli
5256
5357Source0: https://source.kaos.st/%{name }/%{name }-%{version }.tar.bz2
5458
59+ Source100: checksum.sha512
60+
5561BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root-%(%{__id_u} -n)
5662
5763BuildRequires: golang >= 1.14
@@ -66,6 +72,8 @@ Pretty awesome command-line client for public SSLLabs API.
6672################################################################################
6773
6874%prep
75+ %{crc_check }
76+
6977%setup -q
7078
7179%build
@@ -76,6 +84,8 @@ go build src/github.com/essentialkaos/sslcli/%{name}.go
7684rm -rf %{buildroot }
7785
7886install -dm 755 %{buildroot }%{_bindir }
87+ install -dm 755 %{buildroot }%{_mandir }/man1
88+
7989install -pm 755 %{name } %{buildroot }%{_bindir }/
8090
8191./%{name } --generate-man > %{buildroot }%{_mandir }/man1/%{name }.1
You can’t perform that action at this time.
0 commit comments