The package rpms/golang-github-elithrar-simple-scrypt.git has added or updated
architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/golang-github-elithrar-simple-scr...
https://src.fedoraproject.org/cgit/rpms/golang-github-elithrar-simple-scr....
Change:
-%ifnarch s390x
+%ifnarch s390x
Thanks.
Full change:
============
commit 4bf2b939de0ee07202878d53a238bffece0b4882
Author: copart <code(a)rellims.com>
Date: Fri Jun 22 20:11:53 2018 -0400
Removed tests due to non-deterministic results
diff --git a/golang-github-elithrar-simple-scrypt.spec
b/golang-github-elithrar-simple-scrypt.spec
index 3e3c2f5..4e0d3a9 100644
--- a/golang-github-elithrar-simple-scrypt.spec
+++ b/golang-github-elithrar-simple-scrypt.spec
@@ -19,7 +19,7 @@ migrate—and because it's an easy to grok API.}
%gometa -i
Name: %{goname}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Go Library for password hashes using the scrypt KDF
License: MIT
URL: %{gourl}
@@ -50,9 +50,7 @@ building other packages which use import path with
%check
#The timing / calibration tests are non-deterministic,
#see
https://github.com/elithrar/simple-scrypt/issues/16
-%ifnarch s390x
-%gochecks
-%endif
+#%%gochecks
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -63,6 +61,9 @@ building other packages which use import path with
%changelog
* Fri Jun 22 2018 Steve Miller (copart) <code(a)rellims.com> - 1.3.0-2
+- Removed tests for all archs due to non-deterministic nature
+
+* Fri Jun 22 2018 Steve Miller (copart) <code(a)rellims.com> - 1.3.0-2
- Removed tests for s390x arch
* Wed Jun 13 2018 Steve Miller (copart) <code(a)rellims.com> - 1.3.0-1
commit 002e6b6d0af6380ae4f7e77d76f0bb4a4b01278b
Author: copart <code(a)rellims.com>
Date: Fri Jun 22 20:01:14 2018 -0400
removed tests for s380x
diff --git a/golang-github-elithrar-simple-scrypt.spec
b/golang-github-elithrar-simple-scrypt.spec
index af55a70..3e3c2f5 100644
--- a/golang-github-elithrar-simple-scrypt.spec
+++ b/golang-github-elithrar-simple-scrypt.spec
@@ -1,6 +1,6 @@
#
https://github.com/elithrar/simple-scrypt
%global goipath
github.com/elithrar/simple-scrypt
-Version: 1.3.0
+Version: 1.3.0
%global common_description %{expand:
simple-scrypt provides a convenience wrapper around Go's existing scrypt
@@ -19,7 +19,7 @@ migrate—and because it's an easy to grok API.}
%gometa -i
Name: %{goname}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Go Library for password hashes using the scrypt KDF
License: MIT
URL: %{gourl}
@@ -44,12 +44,15 @@ building other packages which use import path with
%prep
%gosetup -q
-
%install
%goinstall
%check
+#The timing / calibration tests are non-deterministic,
+#see
https://github.com/elithrar/simple-scrypt/issues/16
+%ifnarch s390x
%gochecks
+%endif
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
@@ -59,5 +62,8 @@ building other packages which use import path with
%doc README.md
%changelog
+* Fri Jun 22 2018 Steve Miller (copart) <code(a)rellims.com> - 1.3.0-2
+- Removed tests for s390x arch
+
* Wed Jun 13 2018 Steve Miller (copart) <code(a)rellims.com> - 1.3.0-1
- First package for Fedora
commit ffbcd561611b7dec76fc56bc1cb2bc917c41830c
Author: copart <code(a)rellims.com>
Date: Fri Jun 22 15:41:29 2018 -0400
Initial import (#1592476).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4ee20e4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/golang-github-elithrar-simple-scrypt-1.3.0.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index f08df07..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# golang-github-elithrar-simple-scrypt
-
-The golang-github-elithrar-simple-scrypt package
\ No newline at end of file
diff --git a/golang-github-elithrar-simple-scrypt.spec
b/golang-github-elithrar-simple-scrypt.spec
new file mode 100644
index 0000000..af55a70
--- /dev/null
+++ b/golang-github-elithrar-simple-scrypt.spec
@@ -0,0 +1,63 @@
+#
https://github.com/elithrar/simple-scrypt
+%global goipath
github.com/elithrar/simple-scrypt
+Version: 1.3.0
+
+%global common_description %{expand:
+simple-scrypt provides a convenience wrapper around Go's existing scrypt
+package that makes it easier to securely derive strong keys ("hash user
+passwords"). This library allows you to:
+
+*Generate a scrypt derived key with a crytographically secure salt and sane
+default parameters for N, r and p.
+*Upgrade the parameters used to generate keys as hardware improves by storing
+them with the derived key (the scrypt spec. doesn't allow for this by default).
+*Provide your own parameters (if you wish to).
+
+The API closely mirrors Go's bcrypt library in an effort to make it easy to
+migrate—and because it's an easy to grok API.}
+
+%gometa -i
+
+Name: %{goname}
+Release: 1%{?dist}
+Summary: Go Library for password hashes using the scrypt KDF
+License: MIT
+URL: %{gourl}
+Source0: https://%{goipath}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+
+%description
+%{common_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+BuildRequires:
golang(golang.org/x/crypto/scrypt)
+
+%description devel
+%{common_description}
+
+This package contains library source intended for
+building other packages which use import path with
+%{goipath} prefix.
+
+%prep
+%gosetup -q
+
+
+%install
+%goinstall
+
+%check
+%gochecks
+
+#define license tag if not already defined
+%{!?_licensedir:%global license %doc}
+
+%files devel -f devel.file-list
+%license LICENSE
+%doc README.md
+
+%changelog
+* Wed Jun 13 2018 Steve Miller (copart) <code(a)rellims.com> - 1.3.0-1
+- First package for Fedora
diff --git a/sources b/sources
new file mode 100644
index 0000000..a7b35f2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (golang-github-elithrar-simple-scrypt-1.3.0.tar.gz) =
7585e2a530568a49a8d2d4116399c9e6cd54982d9a012000899476ac3aadeb2f01254532ed3a199e0742f26e8a4b119f470fa88275a1c305f2d7302bebb27e70