## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 25 # * need root permission to run test %bcond_with check %global debug_package %{nil} %global crate rtnetlink Name: rust-rtnetlink Version: 0.14.0 Release: %autorelease Summary: Manipulate linux networking resources via netlink License: MIT URL: https://crates.io/crates/rtnetlink Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Manipulate linux networking resources via netlink.} %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-MIT %doc %{crate_instdir}/CHANGELOG %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}+async-global-executor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-global-executor-devel %{_description} This package contains library source intended for building other packages which use the "async-global-executor" feature of the "%{crate}" crate. %files -n %{name}+async-global-executor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+smol_socket-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+smol_socket-devel %{_description} This package contains library source intended for building other packages which use the "smol_socket" feature of the "%{crate}" crate. %files -n %{name}+smol_socket-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+test_as_root-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+test_as_root-devel %{_description} This package contains library source intended for building other packages which use the "test_as_root" feature of the "%{crate}" crate. %files -n %{name}+test_as_root-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}+tokio_socket-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio_socket-devel %{_description} This package contains library source intended for building other packages which use the "tokio_socket" feature of the "%{crate}" crate. %files -n %{name}+tokio_socket-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 * Fri Jan 26 2024 Fedora Release Engineering - 0.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Dec 15 2023 Gris Ge - 0.14.0-1 - Upgrade to 0.14.0 * Fri Jul 21 2023 Fedora Release Engineering - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jul 21 2023 Gris Ge - 0.13.1-1 - Upgrade to 0.13.1 * Sun Mar 12 2023 Gris Ge - 0.12.0-2 - Upload source file rtnetlink-0.12.0.crate * Fri Mar 10 2023 Gris Ge - 0.12.0-1 - Upgrade 0.12.0 * Sat Jan 21 2023 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Oct 06 2022 Gris Ge - 0.11.0-1 - Upgrade to 0.11.0 * Sat Jul 23 2022 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 30 2022 Gris Ge - 0.10.1-1 - Upgrade to 0.10.1 * Wed Mar 30 2022 Gris Ge - 0.9.1-1 - Upgrade to 0.9.1 * Wed Jan 26 2022 Fernando Fernandez Mancera - 0.9.0-1 - Upgrade to 0.9.0 * Fri Jan 21 2022 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Oct 08 2021 Gris Ge - 0.8.1-1 - Upgrade to 0.8.1 * Thu Aug 26 2021 Fernando Fernandez Mancera - 0.8.0-2 - Introduce tokio_socket subpackage * Tue Aug 24 2021 Fernando Fernandez Mancera - 0.8.0-1 - Upgrade to 0.8.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Oct 10 2020 Gris Ge - 0.5.0-1 - Upgrade to 0.5.0 * Mon Sep 07 2020 Gris Ge - 0.4.0-1 - Upgrade to 0.4.0 ## END: Generated by rpmautospec