## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate itertools Name: rust-%{crate} Version: 0.10.3 Release: %autorelease Summary: Extra iterator adaptors, iterator methods, free functions, and macros # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/itertools Source: %{crates_source} # Initial patched metadata # * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch0: itertools-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Extra iterator adaptors, iterator methods, free functions, and macros.} %description %{_description} %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 LICENSE-APACHE LICENSE-MIT %doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+use_alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_alloc-devel %{_description} This package contains library source intended for building other packages which use the "use_alloc" feature of the "%{crate}" crate. %files -n %{name}+use_alloc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+use_std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_std-devel %{_description} This package contains library source intended for building other packages which use the "use_std" feature of the "%{crate}" crate. %files -n %{name}+use_std-devel %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 %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Jan 21 2022 Fedora Release Engineering 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Fabio Valentini 0.10.3-1 - Update to version 0.10.3; Fixes RHBZ#2029594 * Fri Jul 23 2021 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 22 2021 Fabio Valentini - 0.10.1-1 - Update to version 0.10.1. - Fixes RHBZ#1970044 * Wed Jan 27 2021 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 10 17:46:54 CET 2021 Igor Raits - 0.10.0-1 - Update to 0.10.0 (Fixes: RHBZ#1910986) * Wed Jul 29 2020 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Mar 17 17:20:47 CET 2020 Igor Raits - 0.9.0-1 - Update to 0.9.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Nov 28 13:54:12 CET 2019 Igor Gnatenko - 0.8.2-1 - Update to 0.8.2 * Tue Nov 19 2019 Josh Stone - 0.8.1-1 - Update to 0.8.1 * Fri Sep 13 20:54:04 CEST 2019 Robert-André Mauchin - 0.8.0-4 - Bump quickcheck to 0.9 - Bump rand to 0.7 * Fri Jul 26 2019 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 20 16:48:52 CEST 2019 Igor Gnatenko - 0.8.0-2 - Regenerate * Sun Feb 10 2019 Igor Gnatenko - 0.8.0-1 - Update to 0.8.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.7.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 26 2018 Josh Stone - 0.7.11-1 - Update to 0.7.11 * Sun Nov 18 2018 Josh Stone - 0.7.9-1 - Update to 0.7.9 * Sat Nov 10 2018 Igor Gnatenko - 0.7.8-6 - Fix summary * Fri Nov 09 2018 Robert-André Mauchin - 0.7.8-5 - Adapt to new packaging * Sat Jul 28 2018 Igor Gnatenko - 0.7.8-4 - Rebuild to trigger tests * Fri Jul 20 2018 Igor Gnatenko - 0.7.8-3 - Run tests in infrastructure * Sat Jul 14 2018 Fedora Release Engineering - 0.7.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 24 2018 Josh Stone - 0.7.8-1 - Update to 0.7.8 * Mon Mar 05 2018 Igor Gnatenko - 0.7.7-1 - Update to 0.7.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Igor Gnatenko - 0.7.6-1 - Update to 0.7.6 * Mon Jan 08 2018 Igor Gnatenko - 0.7.5-2 - Rebuild for rust-packaging v5 * Sun Jan 07 2018 Igor Gnatenko - 0.7.5-1 - Update to 0.7.5 * Mon Jan 01 2018 Igor Gnatenko - 0.7.4-3 - Bump quickcheck to 0.6 * Sat Dec 02 2017 Igor Gnatenko - 0.7.4-2 - Bump quickcheck to 0.5 * Sat Dec 02 2017 Igor Gnatenko - 0.7.4-1 - Update to 0.7.4 * Wed Nov 29 2017 Igor Gnatenko - 0.7.3-1 - Update to 0.7.3 * Thu Nov 09 2017 Igor Gnatenko - 0.7.2-1 - Update to 0.7.2 * Thu Jun 15 2017 Igor Gnatenko - 0.6.0-1 - Update to 0.6.0 * Wed Jun 14 2017 Igor Gnatenko - 0.5.9-2 - Port to use rust-packaging * Sun Feb 26 2017 Igor Gnatenko - 0.5.9-1 - Initial package