## START: Set by rpmautospec ## (rpmautospec version 0.6.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 debug_package %{nil} %global crate io-extras Name: rust-io-extras Version: 0.18.2 Release: %autorelease Summary: File/socket handle/descriptor utilities License: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT URL: https://crates.io/crates/io-extras Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: io-extras-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: File/socket handle/descriptor utilities.} %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}/COPYRIGHT %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-Apache-2.0_WITH_LLVM-exception %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CODE_OF_CONDUCT.md %doc %{crate_instdir}/ORG_CODE_OF_CONDUCT.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SECURITY.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}+async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-std-devel %{_description} This package contains library source intended for building other packages which use the "async-std" feature of the "%{crate}" crate. %files -n %{name}+async-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio-devel %{_description} This package contains library source intended for building other packages which use the "mio" feature of the "%{crate}" crate. %files -n %{name}+mio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+os_pipe-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+os_pipe-devel %{_description} This package contains library source intended for building other packages which use the "os_pipe" feature of the "%{crate}" crate. %files -n %{name}+os_pipe-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+socket2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+socket2-devel %{_description} This package contains library source intended for building other packages which use the "socket2" feature of the "%{crate}" crate. %files -n %{name}+socket2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_async_std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_async_std-devel %{_description} This package contains library source intended for building other packages which use the "use_async_std" feature of the "%{crate}" crate. %files -n %{name}+use_async_std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_mio_net-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_mio_net-devel %{_description} This package contains library source intended for building other packages which use the "use_mio_net" feature of the "%{crate}" crate. %files -n %{name}+use_mio_net-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_mio_os_ext-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_mio_os_ext-devel %{_description} This package contains library source intended for building other packages which use the "use_mio_os_ext" feature of the "%{crate}" crate. %files -n %{name}+use_mio_os_ext-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_os_pipe-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_os_pipe-devel %{_description} This package contains library source intended for building other packages which use the "use_os_pipe" feature of the "%{crate}" crate. %files -n %{name}+use_os_pipe-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_socket2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_socket2-devel %{_description} This package contains library source intended for building other packages which use the "use_socket2" feature of the "%{crate}" crate. %files -n %{name}+use_socket2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_tokio-devel %{_description} This package contains library source intended for building other packages which use the "use_tokio" feature of the "%{crate}" crate. %files -n %{name}+use_tokio-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -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 * Thu Apr 04 2024 Fabio Valentini - 0.18.2-1 - Update to version 0.18.2; Fixes RHBZ#2272261 * Fri Jan 26 2024 Fedora Release Engineering - 0.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 12 2024 Michel Lind - 0.18.1-3 - Update to 0.18.1 * Sat Jul 23 2022 Fedora Release Engineering - 0.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Apr 13 2022 Fabio Valentini - 0.13.2-1 - Update to version 0.13.2 ## END: Generated by rpmautospec