2021-08-11 18:52:39 +00:00
|
|
|
# Generated by rust2rpm 18
|
2017-10-27 17:04:57 +00:00
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
%global crate yubibomb
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
2021-10-05 11:32:13 +00:00
|
|
|
Version: 0.2.6
|
2021-08-11 18:52:39 +00:00
|
|
|
Release: 1%{?dist}
|
2017-10-27 17:04:57 +00:00
|
|
|
Summary: Rust command line tool that prints out a 6-digit random number
|
|
|
|
|
2019-02-17 17:40:15 +00:00
|
|
|
# Upstream license specification: GPL-3.0
|
2019-03-18 20:31:34 +00:00
|
|
|
License: GPLv3
|
2017-10-27 17:04:57 +00:00
|
|
|
URL: https://crates.io/crates/yubibomb
|
2019-02-17 17:40:15 +00:00
|
|
|
Source: %{crates_source}
|
2017-10-27 17:04:57 +00:00
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
2020-02-16 06:30:35 +00:00
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2017-10-27 17:04:57 +00:00
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
2020-02-16 06:30:35 +00:00
|
|
|
%global _description %{expand:
|
|
|
|
Don't you love when you accidentally tap your Yubikey when you have your IRC
|
2021-10-05 11:32:13 +00:00
|
|
|
client in focus and you send 987947 into Libera? Want to be able to have that
|
2020-02-16 06:30:35 +00:00
|
|
|
experience without having to reach all the way over to your laptop's USB port?
|
|
|
|
Now you can!.}
|
2019-02-17 17:40:15 +00:00
|
|
|
|
|
|
|
%description %{_description}
|
2017-10-27 17:04:57 +00:00
|
|
|
|
2020-02-16 06:30:35 +00:00
|
|
|
%if ! %{__cargo_skip_build}
|
2017-10-27 17:04:57 +00:00
|
|
|
%package -n %{crate}
|
|
|
|
Summary: %{summary}
|
2021-03-23 18:41:43 +00:00
|
|
|
# * GPLv3
|
|
|
|
# * MIT or ASL 2.0
|
|
|
|
License: GPLv3 and (MIT or ASL 2.0)
|
2017-10-27 17:04:57 +00:00
|
|
|
|
2019-03-18 20:31:34 +00:00
|
|
|
%description -n %{crate} %{_description}
|
2019-02-17 17:40:15 +00:00
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
%license LICENSE
|
2021-08-11 18:52:39 +00:00
|
|
|
%doc README.md CHANGELOG.md
|
2019-02-17 17:40:15 +00:00
|
|
|
%{_bindir}/yubibomb
|
2020-02-16 06:30:35 +00:00
|
|
|
%endif
|
2018-02-13 22:36:55 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2019-02-17 17:40:15 +00:00
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%license LICENSE
|
2021-08-11 18:52:39 +00:00
|
|
|
%doc README.md CHANGELOG.md
|
2020-02-16 06:30:35 +00:00
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
2019-02-17 17:40:15 +00:00
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
2018-02-13 22:36:55 +00:00
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
2019-02-17 17:40:15 +00:00
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
2020-02-16 06:30:35 +00:00
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
2017-10-27 17:04:57 +00:00
|
|
|
|
|
|
|
%prep
|
2019-02-17 17:40:15 +00:00
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
2017-10-27 17:04:57 +00:00
|
|
|
%cargo_prep
|
|
|
|
|
2020-02-16 06:30:35 +00:00
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
2017-10-27 17:04:57 +00:00
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%changelog
|
2021-10-05 11:32:13 +00:00
|
|
|
* Tue Oct 05 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.6-1
|
|
|
|
- Update to version 0.2.6.
|
|
|
|
- Fixes RHBZ#2010148
|
|
|
|
|
2021-08-11 18:52:39 +00:00
|
|
|
* Wed Aug 11 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.5-1
|
|
|
|
- Update to version 0.2.5.
|
|
|
|
- Fixes RHBZ#1992408
|
|
|
|
|
2021-07-23 16:52:37 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-30 10:01:26 +00:00
|
|
|
* Sun May 30 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.4-1
|
|
|
|
- Update to version 0.2.4.
|
|
|
|
- Fixes RHBZ#1964216
|
|
|
|
|
2021-05-13 19:12:53 +00:00
|
|
|
* Thu May 13 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.3-1
|
|
|
|
- Update to version 0.2.3.
|
|
|
|
- Fixes RHBZ#1955870
|
|
|
|
|
2021-03-23 18:41:43 +00:00
|
|
|
* Tue Mar 23 2021 Fabio Valentini <decathorpe@gmail.com> - 0.2.2-1
|
|
|
|
- Update to version 0.2.2.
|
|
|
|
- Fixes RHBZ#1941095
|
|
|
|
|
2021-01-27 19:48:17 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 10:06:11 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-02-16 06:30:35 +00:00
|
|
|
* Sun Feb 16 07:29:42 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.1-1
|
|
|
|
- Update to 0.2.1
|
|
|
|
|
2020-01-30 22:39:34 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 22:32:43 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-18 20:31:34 +00:00
|
|
|
* Mon Mar 18 21:09:53 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-6
|
|
|
|
- Correct license
|
|
|
|
|
2019-02-17 17:40:15 +00:00
|
|
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-5
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
2019-02-02 14:39:09 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 05:37:47 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-14 07:14:56 +00:00
|
|
|
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-2
|
|
|
|
- Bump regex to 1
|
|
|
|
|
2018-02-09 15:57:48 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-08 20:19:16 +00:00
|
|
|
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-3
|
|
|
|
- Rebuild for rust-packaging v5
|
|
|
|
|
2017-12-31 13:48:45 +00:00
|
|
|
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-1
|
|
|
|
- Bump rand to 0.4
|
|
|
|
|
2017-10-27 17:04:57 +00:00
|
|
|
* Wed Jun 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-1
|
|
|
|
- Initial package
|