## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 24 %bcond_without check %global crate yubibomb Name: rust-yubibomb Version: 0.2.14 Release: %autorelease Summary: Rust command line tool that prints out a 6-digit random number License: GPL-3.0 URL: https://crates.io/crates/yubibomb Source: %{crates_source} BuildRequires: rust-packaging >= 23 %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 Libera? 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} %package -n %{crate} Summary: %{summary} # GPL-3.0 # MIT OR Apache-2.0 License: GPL-3.0 AND (MIT OR Apache-2.0) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc CHANGELOG.md %doc README.md %{_bindir}/yubibomb %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 0.2.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 0.2.14-3 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Sat Jan 27 2024 Fedora Release Engineering - 0.2.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Sep 24 2023 Fabio Valentini - 0.2.14-1 - Update to version 0.2.14; Fixes RHBZ#2240394 * Sat Jul 22 2023 Fedora Release Engineering - 0.2.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon May 29 2023 Fabio Valentini - 0.2.13-1 - Update to version 0.2.13; Fixes RHBZ#2210847 * Mon May 08 2023 Fabio Valentini - 0.2.12-1 - Update to version 0.2.12; Fixes RHBZ#2041263 * Sat Feb 04 2023 Fabio Valentini - 0.2.7-7 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros * Sat Jan 21 2023 Fedora Release Engineering - 0.2.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jan 11 2023 Fabio Valentini - 0.2.7-5 - Disable doctests on ppc64le to work around a compiler crash on LLVM 15 * Sat Jul 23 2022 Fedora Release Engineering - 0.2.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.2.7-3 - Rebuild with package notes * Sat Jan 22 2022 Fedora Release Engineering - 0.2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Fabio Valentini - 0.2.7-1 - Update to version 0.2.7; Fixes RHBZ#2029275 * Tue Oct 05 2021 Fabio Valentini - 0.2.6-1 - Update to version 0.2.6. - Fixes RHBZ#2010148 * Wed Aug 11 2021 Fabio Valentini - 0.2.5-1 - Update to version 0.2.5. - Fixes RHBZ#1992408 * Fri Jul 23 2021 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun May 30 2021 Fabio Valentini - 0.2.4-1 - Update to version 0.2.4. - Fixes RHBZ#1964216 * Thu May 13 2021 Fabio Valentini - 0.2.3-1 - Update to version 0.2.3. - Fixes RHBZ#1955870 * Tue Mar 23 2021 Fabio Valentini - 0.2.2-1 - Update to version 0.2.2. - Fixes RHBZ#1941095 * Wed Jan 27 2021 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Feb 16 07:29:42 CET 2020 Igor Raits - 0.2.1-1 - Update to 0.2.1 * Thu Jan 30 2020 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.2.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 18 21:09:53 CET 2019 Igor Gnatenko - 0.2.0-6 - Correct license * Sun Feb 17 2019 Igor Gnatenko - 0.2.0-5 - Adapt to new packaging * Sat Feb 02 2019 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 14 2018 Igor Gnatenko - 0.2.0-2 - Bump regex to 1 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.1.0-3 - Rebuild for rust-packaging v5 * Sun Dec 31 2017 Igor Gnatenko - 0.1.0-1 - Bump rand to 0.4 * Wed Jun 28 2017 Igor Gnatenko - 0.1.0-1 - Initial package ## END: Generated by rpmautospec