Files
golang-github-cloudflare-ci…/golang-github-cloudflare-circl.spec
2025-01-13 13:05:10 +01:00

100 lines
3.0 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## START: Set by rpmautospec
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by go2rpm 1.10.0
%bcond_without check
%global debug_package %{nil}
# https://github.com/cloudflare/circl
%global goipath github.com/cloudflare/circl
Version: 1.3.9
%gometa -L
%global common_description %{expand:
CIRCL: Cloudflare Interoperable Reusable Cryptographic Library.}
%global golicenses LICENSE ecc-p384-LICENSE
%global godocs README.md
Name: golang-github-cloudflare-circl
Release: %autorelease
Summary: CIRCL: Cloudflare Interoperable Reusable Cryptographic Library
License: BSD-3-Clause
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
# This package has arch specific files, so it cannot be noarch like the rest of
# the golang-*-devel packages. %%gopkg does not currently support this usecase,
# so we create a manual subpackage definition
%package devel
Summary: %{summary}
BuildRequires: go-rpm-macros
%description devel %{common_description}
This package contains the source code needed for building packages that
reference the following Go import paths:
%{goipath}
%prep
%goprep -A
%autopatch -p1 -q
%generate_buildrequires
%go_generate_buildrequires
%install
%gopkginstall
mv ecc/p384/LICENSE ecc-p384-LICENSE
%if %{with check}
%check
%gocheck
%endif
%gopkgfiles
%changelog
## START: Generated by rpmautospec
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Mar 07 2024 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 1.3.7-1
- Update to 1.3.7 - Closes rhbz#2165786 rhbz#2203758
* Sun Feb 11 2024 Maxwell G <maxwell@gtmx.me> - 1.3.1-6
- Rebuild for golang 1.22.0
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Jan 08 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 1.3.1-1
- Update to 1.3.1 - Closes rhbz#2142392
* Wed Sep 07 2022 Maxwell G <gotmax@e.email> - 1.2.0-2
- Make devel subpackage arched
* Tue Sep 06 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 1.2.0-1
- Initial package - Closes rhbz#2122024
## END: Generated by rpmautospec