## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; 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 signal-hook-mio Name: rust-signal-hook-mio Version: 0.2.3 Release: %autorelease Summary: MIO support for signal-hook # Upstream license specification: Apache-2.0/MIT License: Apache-2.0 OR MIT URL: https://crates.io/crates/signal-hook-mio Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: MIO support for signal-hook.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+mio-0_6-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio-0_6-devel %{_description} This package contains library source intended for building other packages which use the "mio-0_6" feature of the "%{crate}" crate. %files -n %{name}+mio-0_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mio-0_7-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio-0_7-devel %{_description} This package contains library source intended for building other packages which use the "mio-0_7" feature of the "%{crate}" crate. %files -n %{name}+mio-0_7-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mio-0_8-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio-0_8-devel %{_description} This package contains library source intended for building other packages which use the "mio-0_8" feature of the "%{crate}" crate. %files -n %{name}+mio-0_8-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mio-uds-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio-uds-devel %{_description} This package contains library source intended for building other packages which use the "mio-uds" feature of the "%{crate}" crate. %files -n %{name}+mio-uds-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+support-v0_6-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+support-v0_6-devel %{_description} This package contains library source intended for building other packages which use the "support-v0_6" feature of the "%{crate}" crate. %files -n %{name}+support-v0_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+support-v0_7-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+support-v0_7-devel %{_description} This package contains library source intended for building other packages which use the "support-v0_7" feature of the "%{crate}" crate. %files -n %{name}+support-v0_7-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+support-v0_8-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+support-v0_8-devel %{_description} This package contains library source intended for building other packages which use the "support-v0_8" feature of the "%{crate}" crate. %files -n %{name}+support-v0_8-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.2.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Fabio Valentini - 0.2.3-7 - Regenerate with rust2rpm v24 * Fri Jul 21 2023 Fedora Release Engineering - 0.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 03 2022 Zbigniew Jędrzejewski-Szmek - 0.2.3-3 - Refresh packaging (incl. using SDPX license expression) * Thu May 26 2022 laiot - 0.2.3-2 - Updated sources to version 0.2.3 * Thu May 26 2022 laiot - 0.2.3-1 - Updated to version 0.2.3 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Sep 01 2021 Davide Cavalca - 0.2.1-1 - Initial import; Fixes: RHBZ#1988168 ## END: Generated by rpmautospec