* Fix typo in release workflow (#163) * Move to Go 1.18 (#162) * Add support for setting `pathlen` on CA certificates and intermediate CA (#135) * Fix docker file (#161) * Expand on permissions error message. (#160) * Bump go.step.sm/crypto from 0.15.2 to 0.16.2 * created test_tags and test_tags_windows since 600 permissions are not available in windows * Update go.yml * Update go.yml * updated go version to 1.16 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/certstrap?expand=0&rev=11
53 lines
1.5 KiB
RPMSpec
53 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package certstrap
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: certstrap
|
|
Version: 1.3.0+git20220701.1377eab
|
|
Release: 0
|
|
Summary: Tool for bootstrapping CAs, certificate requests, and signed certificates
|
|
License: Apache-2.0
|
|
Group: System/Management
|
|
URL: https://github.com/square/certstrap
|
|
Source: %{name}-%{version}.tar.xz
|
|
BuildRequires: golang(API) >= 1.18
|
|
ExcludeArch: s390
|
|
|
|
%description
|
|
Certstrap is a certificate manager for bootstrapping one's own
|
|
certificate authority and public key infrastructure.
|
|
certstrap can be used if you do not feel like dealing with openssl,
|
|
its myriad of options or config files.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export GOPATH=$HOME/go
|
|
go build -v -buildmode=pie -mod vendor
|
|
|
|
%install
|
|
install -d -p %{buildroot}%{_bindir}
|
|
install -p -m 0755 certstrap %{buildroot}%{_bindir}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/certstrap
|
|
|
|
%changelog
|