diff --git a/.gitignore b/.gitignore index e5569b0..315acbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /chacha20-e2538746bfea853aaa589feb8ec46bd46ee78f86.tar.gz +/chacha20-8b13a72661dae6e9e5dea04f344f0dc95ea29547.tar.gz diff --git a/golang-github-aead-chacha20.spec b/golang-github-aead-chacha20.spec index dc89465..e07439b 100644 --- a/golang-github-aead-chacha20.spec +++ b/golang-github-aead-chacha20.spec @@ -1,72 +1,65 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check +# https://github.com/aead/chacha20 %global goipath github.com/aead/chacha20 -%global commit e2538746bfea853aaa589feb8ec46bd46ee78f86 +%global commit 8b13a72661dae6e9e5dea04f344f0dc95ea29547 + +%gometa %global common_description %{expand: +ChaCha is a stream cipher family created by Daniel J. Bernstein. The most common +ChaCha variant is ChaCha20 (20 rounds). ChaCha20 is standardized in RFC 7539. + This package provides implementations of three ChaCha versions: - - ChaCha20 with a 64 bit nonce (can en/decrypt up to 2^64 * 64 bytes for one - key-nonce combination) - - ChaCha20 with a 96 bit nonce (can en/decrypt up to 2^32 * 64 bytes ~ 256 GB - for one key-nonce combination) - - XChaCha20 with a 192 bit nonce (can en/decrypt up to 2^64 * 64 bytes - for one key-nonce combination) + - ChaCha20 with a 64 bit nonce (can en/decrypt up to 2^64 * 64 bytes for one + key-nonce combination) + - ChaCha20 with a 96 bit nonce (can en/decrypt up to 2^32 * 64 bytes ~ 256 GB + for one key-nonce combination) + - XChaCha20 with a 192 bit nonce (can en/decrypt up to 2^64 * 64 bytes for one + key-nonce combination) -Furthermore the chacha sub package implements ChaCha20/12 and ChaCha20/8. -These versions use 12 or 8 rounds instead of 20. But it's recommended to use -ChaCha20 (with 20 rounds) - it will be fast enough for almost all purposes.} +Furthermore the chacha sub package implements ChaCha20/12 and ChaCha20/8. These +versions use 12 or 8 rounds inste -d of 20. But it's recommended to use ChaCha20 +(with 20 rounds) - it will be fast enough for almost all purposes.} -%gometa +%global golicenses LICENSE +%global godocs README.md Name: %{goname} Version: 0 -Release: 0.3%{?dist} +Release: 0.4%{?dist} Summary: ChaCha20 and XChaCha20 stream ciphers + License: MIT URL: %{gourl} Source0: %{gosource} -%if %{with check} BuildRequires: golang(golang.org/x/sys/cpu) -%endif %description %{common_description} - -%package devel -Summary: %{summary} - -%description devel -%{common_description} - -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. - +%gopkg %prep -%forgeautosetup - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.md - +%gopkgfiles %changelog +* Thu May 23 18:00:14 CEST 2019 Robert-André Mauchin - 0-0.4.20190523git8b13a72 +- Bump to commit 8b13a72661dae6e9e5dea04f344f0dc95ea29547 + * Thu Jan 31 2019 Fedora Release Engineering - 0-0.3.gite253874 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild @@ -75,4 +68,3 @@ building other packages which use import path with * Thu May 17 2018 Robert-André Mauchin - 0.0.1.20180517gite253874 - First package for Fedora - diff --git a/sources b/sources index a466222..7544070 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (chacha20-e2538746bfea853aaa589feb8ec46bd46ee78f86.tar.gz) = 96cd2b19175f6649265e1aa07af7929fd6fc9593dbfa432e6eb5494bbf33b7f8efeac61e73288625b221166920957ca98b8d18639594498bbe5c250d40781085 +SHA512 (chacha20-8b13a72661dae6e9e5dea04f344f0dc95ea29547.tar.gz) = 513923c331f64b72c5cec4412b9b8e59aaf978633894d7473b361aba0f4138171f0ef24472b1a8b5eee4b8481d5701d262ee045431e49122cea3ad94db706800