| |
@@ -1,23 +1,20 @@
|
| |
%global gem_name bcrypt
|
| |
|
| |
Name: rubygem-%{gem_name}
|
| |
- Version: 3.1.12
|
| |
- Release: 9%{?dist}
|
| |
+ Version: 3.1.16
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Wrapper around bcrypt() password hashing algorithm
|
| |
# ext/* - Public Domain
|
| |
# spec/TestBCrypt.java - ISC
|
| |
License: MIT and Public Domain and ISC
|
| |
URL: https://github.com/codahale/bcrypt-ruby
|
| |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
| |
+ BuildRequires: ruby
|
| |
BuildRequires: ruby(release)
|
| |
BuildRequires: rubygems-devel
|
| |
BuildRequires: ruby-devel
|
| |
BuildRequires: rubygem(rspec)
|
| |
BuildRequires: gcc
|
| |
- # bcrypt-ruby is renamed to brypt
|
| |
- Provides: rubygem(brypt-ruby) = %{version}
|
| |
- Provides: rubygem-bcrypt-ruby = %{version}-%{release}
|
| |
- Obsoletes: rubygem-bcrypt-ruby <= 3.1.2-2
|
| |
|
| |
%description
|
| |
bcrypt() is a sophisticated and secure hash algorithm designed by The
|
| |
@@ -33,11 +30,11 @@
|
| |
Documentation for %{name}.
|
| |
|
| |
%prep
|
| |
- %setup -q -c -T
|
| |
- %gem_install -n %{SOURCE0}
|
| |
+ %setup -q -n %{gem_name}-%{version}
|
| |
|
| |
%build
|
| |
- # noop
|
| |
+ gem build ../%{gem_name}-%{version}.gemspec
|
| |
+ %gem_install
|
| |
|
| |
%install
|
| |
mkdir -p %{buildroot}%{gem_dir}
|
| |
@@ -75,6 +72,10 @@
|
| |
%{gem_instdir}/spec
|
| |
|
| |
%changelog
|
| |
+ * Wed Jan 20 13:40:24 CET 2021 Pavel Valena <pvalena@redhat.com> - 3.1.16-1
|
| |
+ - Update to bcrypt 3.1.16.
|
| |
+ Resolves: rhbz#1715983
|
| |
+
|
| |
* Wed Jan 6 12:16:53 CET 2021 Vít Ondruch <vondruch@redhat.com> - 3.1.12-9
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_3.0
|
| |
|
| |
To have latest bcrypt gem in Fedora.
Up-to-date Koji scratch-build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=60144335
Up-to-date Copr build:
https://copr.fedorainfracloud.org/coprs/build/1890648
Checks:
Test log: https://git.io/JtmmX
gem2rpm diff: https://git.io/Jtmm1