Update to 0.2.1

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-02-16 07:30:35 +01:00
parent 30ad0cffee
commit 49eca9afe3
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
3 changed files with 24 additions and 19 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/yubibomb-0.1.0.crate
/yubibomb-0.2.0.crate
/yubibomb-0.2.1.crate

View File

@ -1,37 +1,34 @@
# Generated by rust2rpm
# Generated by rust2rpm 13
%bcond_without check
%global crate yubibomb
Name: rust-%{crate}
Version: 0.2.0
Release: 8%{?dist}
Version: 0.2.1
Release: 1%{?dist}
Summary: Rust command line tool that prints out a 6-digit random number
# Upstream license specification: GPL-3.0
License: GPLv3
URL: https://crates.io/crates/yubibomb
Source: %{crates_source}
# Initial patched metadata
# * Bump regex to 1, https://gitlab.com/bowlofeggs/yubibomb/commit/301cb10cd056cd33c4736b87aaad333f77c6c252
Patch0: yubibomb-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
%if %{with check}
BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
%global _description \
Don't you love when you accidentally tap your Yubikey when you have your IRC\
client in focus and you send 987947 into Freenode? Want to be able to have that\
experience without having to reach all the way over to your laptop's USB port?\
Now you can!
BuildRequires: rust-packaging
%global _description %{expand:
Don't you love when you accidentally tap your Yubikey when you have your IRC
client in focus and you send 987947 into Freenode? Want to be able to have that
experience without having to reach all the way over to your laptop's USB port?
Now you can!.}
%description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
@ -41,6 +38,7 @@ Summary: %{summary}
%license LICENSE
%doc README.md
%{_bindir}/yubibomb
%endif
%package devel
Summary: %{summary}
@ -54,7 +52,7 @@ which use "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -66,12 +64,15 @@ This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -84,6 +85,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sun Feb 16 07:29:42 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.1-1
- Update to 0.2.1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (yubibomb-0.2.0.crate) = c187f3bf3549a1bc5f501086e1de643b465364042ce0084f1f21f90b03d0b42edccd083ffe39210b20d4a97bf2deaf9437b30008a2bcef52948748b9c17b12ef
SHA512 (yubibomb-0.2.1.crate) = 45c5fcd25677e385e350fe8219b13a3ae743b7cea39188b5311717e05d084c20156f40257e50bcbef5d6e149a61967e95d2f9a733fccf9c19d79a71b49e7687c