## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 debug_package %{nil} %global crate spin Name: rust-spin Version: 0.9.8 Release: %autorelease Summary: Spin-based synchronization primitives License: MIT URL: https://crates.io/crates/spin Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch: spin-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: Spin-based synchronization primitives.} %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 %{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 %package -n %{name}+barrier-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+barrier-devel %{_description} This package contains library source intended for building other packages which use the "barrier" feature of the "%{crate}" crate. %files -n %{name}+barrier-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fair_mutex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fair_mutex-devel %{_description} This package contains library source intended for building other packages which use the "fair_mutex" feature of the "%{crate}" crate. %files -n %{name}+fair_mutex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lazy-devel %{_description} This package contains library source intended for building other packages which use the "lazy" feature of the "%{crate}" crate. %files -n %{name}+lazy-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lock_api-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lock_api-devel %{_description} This package contains library source intended for building other packages which use the "lock_api" feature of the "%{crate}" crate. %files -n %{name}+lock_api-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lock_api_crate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lock_api_crate-devel %{_description} This package contains library source intended for building other packages which use the "lock_api_crate" feature of the "%{crate}" crate. %files -n %{name}+lock_api_crate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mutex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mutex-devel %{_description} This package contains library source intended for building other packages which use the "mutex" feature of the "%{crate}" crate. %files -n %{name}+mutex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+once-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+once-devel %{_description} This package contains library source intended for building other packages which use the "once" feature of the "%{crate}" crate. %files -n %{name}+once-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+portable-atomic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+portable-atomic-devel %{_description} This package contains library source intended for building other packages which use the "portable-atomic" feature of the "%{crate}" crate. %files -n %{name}+portable-atomic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+portable_atomic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+portable_atomic-devel %{_description} This package contains library source intended for building other packages which use the "portable_atomic" feature of the "%{crate}" crate. %files -n %{name}+portable_atomic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rwlock-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rwlock-devel %{_description} This package contains library source intended for building other packages which use the "rwlock" feature of the "%{crate}" crate. %files -n %{name}+rwlock-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+spin_mutex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+spin_mutex-devel %{_description} This package contains library source intended for building other packages which use the "spin_mutex" feature of the "%{crate}" crate. %files -n %{name}+spin_mutex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ticket_mutex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ticket_mutex-devel %{_description} This package contains library source intended for building other packages which use the "ticket_mutex" feature of the "%{crate}" crate. %files -n %{name}+ticket_mutex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_ticket_mutex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_ticket_mutex-devel %{_description} This package contains library source intended for building other packages which use the "use_ticket_mutex" feature of the "%{crate}" crate. %files -n %{name}+use_ticket_mutex-devel %ghost %{crate_instdir}/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 ## START: Generated by rpmautospec * Sat Jan 27 2024 Fedora Release Engineering - 0.9.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.9.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Apr 17 2023 Fabio Valentini - 0.9.8-1 - Update to version 0.9.8; Fixes RHBZ#2183956 * Thu Mar 30 2023 Fabio Valentini - 0.9.7-1 - Update to version 0.9.7; Fixes RHBZ#2182219 * Thu Mar 16 2023 Fabio Valentini - 0.9.6-1 - Update to version 0.9.6; Fixes RHBZ#2177738 * Thu Feb 09 2023 Fabio Valentini - 0.9.5-1 - Update to version 0.9.5; Fixes RHBZ#2167903 * Sat Jan 21 2023 Fedora Release Engineering - 0.9.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.9.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Fabio Valentini - 0.9.4-1 - Update to version 0.9.4; Fixes RHBZ#2107111 * Wed May 25 2022 Fabio Valentini - 0.9.3-1 - Update to version 0.9.3; Fixes RHBZ#2076008 * Fri Jan 21 2022 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 10 2022 Fabio Valentini - 0.9.2-1 - Update to version 0.9.2; Fixes RHBZ#1886624 * Fri Jul 23 2021 Fedora Release Engineering - 0.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.5.2-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Nov 20 2019 Josh Stone - 0.5.2-1 - Update to 0.5.2 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 27 17:18:02 CEST 2019 Igor Gnatenko - 0.5.0-2 - Regenerate * Sat Mar 09 2019 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.4.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 13 2018 Josh Stone - 0.4.10-1 - Update to 0.4.10 - Adapt to new packaging * Sun Oct 07 2018 Igor Gnatenko - 0.4.9-2 - Run tests in infrastructure * Sat Sep 08 2018 Josh Stone - 0.4.9-1 - Update to 0.4.9 * Sat Jul 14 2018 Fedora Release Engineering - 0.4.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 23 2018 Igor Gnatenko - 0.4.8-2 - Adopt to new macro * Sun Apr 22 2018 Igor Gnatenko - 0.4.8-1 - Update to 0.4.8 * Wed Mar 14 2018 Josh Stone - 0.4.7-1 - Update to 0.4.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.4.6-2 - Rebuild for rust-packaging v5 * Sun Nov 05 2017 Igor Gnatenko - 0.4.6-1 - Update to 0.4.6 * Wed Jun 14 2017 Igor Gnatenko - 0.4.5-2 - Port to use rust-packaging * Sat Feb 18 2017 Igor Gnatenko - 0.4.5-1 - Initial package ## END: Generated by rpmautospec