From 99c58de1fc76026517153311095d0757883f6877 Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Sep 06 2022 18:44:39 +0000 Subject: Initial package - Closes rhbz#2122023 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..231c653 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-ristretto-1.2.2.tar.gz diff --git a/golang-github-bwesterb-ristretto.spec b/golang-github-bwesterb-ristretto.spec new file mode 100644 index 0000000..e6d41b9 --- /dev/null +++ b/golang-github-bwesterb-ristretto.spec @@ -0,0 +1,46 @@ +# Generated by go2rpm 1.8.0 +%bcond_without check +%global debug_package %{nil} + +# https://github.com/bwesterb/go-ristretto +%global goipath github.com/bwesterb/go-ristretto +Version: 1.2.2 + +%gometa + +%global common_description %{expand: +Pure Go implementation of the Ristretto prime-order group over Edwards25519.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: %autorelease +Summary: Pure Go implementation of the Ristretto prime-order group over Edwards25519 + +License: MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..cddf9fa --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-ristretto-1.2.2.tar.gz) = 6c27e5cd53a694c4ece979d7bc7b2faffd6cb3de6fd35f771f9d7d449d714840cbbbad1b959f2affa0f8e1d5e73350481795b77e660abecd5910821bf20e477d