## START: Set by rpmautospec ## (rpmautospec version 0.7.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 # * tests require unshare and CLONE_NETNS permissions not available in mock %bcond_with check %global crate libslirp Name: rust-libslirp Version: 4.3.2 Release: %autorelease Summary: High-level bindings & helper process for libslirp License: MIT URL: https://crates.io/crates/libslirp Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: High-level bindings & helper process for libslirp.} %description %{_description} %package -n libslirp-helper Summary: %{summary} # Apache-2.0 OR MIT # BSD-3-Clause # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: MIT AND BSD-3-Clause AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n libslirp-helper %{_description} %files -n libslirp-helper %license LICENSE %license LICENSE.dependencies %{_bindir}/libslirp-helper %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 %{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}+enumflags2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+enumflags2-devel %{_description} This package contains library source intended for building other packages which use the "enumflags2" feature of the "%{crate}" crate. %files -n %{name}+enumflags2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+helper-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+helper-devel %{_description} This package contains library source intended for building other packages which use the "helper" feature of the "%{crate}" crate. %files -n %{name}+helper-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ipnetwork-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ipnetwork-devel %{_description} This package contains library source intended for building other packages which use the "ipnetwork" feature of the "%{crate}" crate. %files -n %{name}+ipnetwork-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy_static-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lazy_static-devel %{_description} This package contains library source intended for building other packages which use the "lazy_static" feature of the "%{crate}" crate. %files -n %{name}+lazy_static-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libsystemd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libsystemd-devel %{_description} This package contains library source intended for building other packages which use the "libsystemd" feature of the "%{crate}" crate. %files -n %{name}+libsystemd-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-extras-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mio-extras-devel %{_description} This package contains library source intended for building other packages which use the "mio-extras" feature of the "%{crate}" crate. %files -n %{name}+mio-extras-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nix-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nix-devel %{_description} This package contains library source intended for building other packages which use the "nix" feature of the "%{crate}" crate. %files -n %{name}+nix-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+slab-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+slab-devel %{_description} This package contains library source intended for building other packages which use the "slab" feature of the "%{crate}" crate. %files -n %{name}+slab-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+structopt-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+structopt-devel %{_description} This package contains library source intended for building other packages which use the "structopt" feature of the "%{crate}" crate. %files -n %{name}+structopt-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+url-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+url-devel %{_description} This package contains library source intended for building other packages which use the "url" feature of the "%{crate}" crate. %files -n %{name}+url-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zbus-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zbus-devel %{_description} This package contains library source intended for building other packages which use the "zbus" feature of the "%{crate}" crate. %files -n %{name}+zbus-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zvariant-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zvariant-devel %{_description} This package contains library source intended for building other packages which use the "zvariant" feature of the "%{crate}" crate. %files -n %{name}+zvariant-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f helper %build %cargo_build -f helper %{cargo_license_summary -f helper} %{cargo_license -f helper} > LICENSE.dependencies %install %cargo_install -f helper %if %{with check} %check %cargo_test -f helper %endif %changelog ## START: Generated by rpmautospec * Tue Jul 30 2024 Marc-André Lureau - 4.3.2-1 - Update to 4.3.2 * Tue Jul 30 2024 Marc-André Lureau - 4.3.1-1 - Update to 4.3.1 * Sat Jul 20 2024 Fedora Release Engineering - 4.2.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 4.2.2-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Nov 25 2023 Fabio Valentini - 4.2.2-19 - Bump libsystemd dependency to <0.8 * Sun Sep 24 2023 Fabio Valentini - 4.2.2-18 - Regenerate with rust2rpm v24; allow libsystemd versions 0.2..0.5 * Fri Jul 21 2023 Fedora Release Engineering - 4.2.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Feb 05 2023 Fabio Valentini - 4.2.2-14 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros. * Fri Jan 20 2023 Fedora Release Engineering - 4.2.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 4.2.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 4.2.2-11 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 4.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Nov 29 2021 Marc-André Lureau - 4.2.2-9 - Fix FTBFS rhbz#2027023 * Fri Jul 23 2021 Fedora Release Engineering - 4.2.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 4.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 16 15:01:34 GMT 2020 Igor Raits - 4.2.2-6 - Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 4.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 24 2020 Dusty Mabe - 4.2.2-4 - Respin. We updated rust-ipnetwork to 0.17.0 * Tue May 12 2020 Igor Raits - 4.2.2-2 - Fixup license * Wed May 06 21:46:00 CEST 2020 Marc-André Lureau - 4.2.2-1 - Initial package ## END: Generated by rpmautospec