## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 26 %bcond_without check %global crate rpick Name: rust-rpick Version: 0.9.1 Release: %autorelease Summary: Helps you pick items from a list by various algorithms License: GPL-3.0 URL: https://crates.io/crates/rpick Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Helps you pick items from a list by various algorithms. Example uses: pick a restaurant you haven't been to in a while, or an album to listen to.} %description %{_description} %package -n %{crate} Summary: %{summary} # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # BSD-3-Clause # GPL-3.0 # MIT # MIT OR Apache-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: Apache-2.0 AND BSD-3-Clause AND GPL-3.0 AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) # 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}/rpick %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} -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 * Fri Aug 09 2024 Fabio Valentini - 0.9.1-1 - Update to version 0.9.1; Fixes RHBZ#2258709 * Sat Jul 20 2024 Fedora Release Engineering - 0.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 0.9.0-3 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Fri Jan 26 2024 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Fabio Valentini - 0.9.0-1 - Update to version 0.9.0; Fixes RHBZ#2144130 * Fri Jul 21 2023 Fedora Release Engineering - 0.8.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Feb 05 2023 Fabio Valentini - 0.8.11-4 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros. * Sat Jan 21 2023 Fedora Release Engineering - 0.8.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jan 11 2023 Fabio Valentini - 0.8.11-2 - Disable doctests on ppc64le to work around a compiler crash on LLVM 15. * Sun Sep 11 2022 Randy Barlow - 0.8.11-1 - Update to 0.8.11 (#2060236). * Tue Aug 02 2022 Randy Barlow - 0.8.10-1 - Update to 0.8.10. * Sat Jul 23 2022 Fedora Release Engineering - 0.8.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jul 15 2022 Fabio Valentini - 0.8.7-5 - Skip doctests on armv7hl due to rustc / LLVM 14 crashes. * Fri Jul 15 2022 Fabio Valentini - 0.8.7-4 - Bump mockall dev-dependency from 0.10 to 0.11. * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.8.7-3 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 0.8.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Nov 26 17:31:29 EST 2021 Randy Barlow - 0.8.7-1 - Update to 0.8.7 (#1861179). * Fri Jul 23 2021 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild ## END: Generated by rpmautospec