## 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 # Disabled test as netlink-packet-audit does not exist in Fedora yet %bcond_with check %global debug_package %{nil} %global crate netlink-sys Name: rust-netlink-sys Version: 0.8.5 Release: %autorelease Summary: Netlink sockets, with optional integration with tokio License: MIT URL: https://crates.io/crates/netlink-sys Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Netlink sockets, with optional integration with tokio.} %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-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-io-devel %{_description} This package contains library source intended for building other packages which use the "async-io" feature of the "%{crate}" crate. %files -n %{name}+async-io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use the "futures" feature of the "%{crate}" crate. %files -n %{name}+futures-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}+mio_socket-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio_socket-devel %{_description} This package contains library source intended for building other packages which use the "mio_socket" feature of the "%{crate}" crate. %files -n %{name}+mio_socket-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}+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_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 * Fri Jan 26 2024 Fedora Release Engineering - 0.8.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.8.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Mar 10 2023 Gris Ge - 0.8.5-6 - Sync with rust2rpm and disable test with comment * Sun Mar 05 2023 Gris Ge - 0.8.5-5 - packit: Do not update release dist tag * Sun Mar 05 2023 Gris Ge - 0.8.5-4 - Use autorelease for dist tag * Sun Mar 05 2023 Gris Ge - 0.8.5-3 - packit: Use `pull_from_upstream` * Sun Mar 05 2023 Gris Ge - 0.8.5-2 - Fix build dist release tag * Sun Mar 05 2023 Gris Ge - 0.8.5-1 - [packit] 0.8.5 upstream release * Sat Jan 21 2023 Fedora Release Engineering - 0.8.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.8.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 29 2022 Gris Ge - 0.8.3-1 - Upgrade to 0.8.3 * Wed Mar 30 2022 Gris Ge - 0.8.2-1 - Upgrade to 0.8.2 * Tue Jan 25 2022 Fernando Fernandez Mancera - 0.8.1-1 - Upgrade to 0.8.1 * Fri Jan 21 2022 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 10 2021 Fernando Fernandez Mancera - 0.7.0-1 - Upgrade to 0.7.0 * Fri Jul 23 2021 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Sep 07 2020 Gris Ge - 0.4.0-1 - Initial build ## END: Generated by rpmautospec