## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 domain %global forgeurl0 https://github.com/NLnetLabs/domain Name: rust-domain Version: 0.10.1 Release: %autorelease Summary: DNS library for Rust License: BSD-3-Clause URL: https://crates.io/crates/domain VCS: git:%{forgeurl0} Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: domain-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A DNS library for Rust.} %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 %doc %{crate_instdir}/Changelog.md %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}+arc-swap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arc-swap-devel %{_description} This package contains library source intended for building other packages which use the "arc-swap" feature of the "%{crate}" crate. %files -n %{name}+arc-swap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytes-devel %{_description} This package contains library source intended for building other packages which use the "bytes" feature of the "%{crate}" crate. %files -n %{name}+bytes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-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}+futures-util-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-util-devel %{_description} This package contains library source intended for building other packages which use the "futures-util" feature of the "%{crate}" crate. %files -n %{name}+futures-util-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+heapless-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+heapless-devel %{_description} This package contains library source intended for building other packages which use the "heapless" feature of the "%{crate}" crate. %files -n %{name}+heapless-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}+net-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+net-devel %{_description} This package contains library source intended for building other packages which use the "net" feature of the "%{crate}" crate. %files -n %{name}+net-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parking_lot-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parking_lot-devel %{_description} This package contains library source intended for building other packages which use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proc-macro2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proc-macro2-devel %{_description} This package contains library source intended for building other packages which use the "proc-macro2" feature of the "%{crate}" crate. %files -n %{name}+proc-macro2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand-devel %{_description} This package contains library source intended for building other packages which use the "rand" feature of the "%{crate}" crate. %files -n %{name}+rand-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ring-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ring-devel %{_description} This package contains library source intended for building other packages which use the "ring" feature of the "%{crate}" crate. %files -n %{name}+ring-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sign-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sign-devel %{_description} This package contains library source intended for building other packages which use the "sign" feature of the "%{crate}" crate. %files -n %{name}+sign-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+siphasher-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+siphasher-devel %{_description} This package contains library source intended for building other packages which use the "siphasher" feature of the "%{crate}" crate. %files -n %{name}+siphasher-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+smallvec-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+smallvec-devel %{_description} This package contains library source intended for building other packages which use the "smallvec" feature of the "%{crate}" crate. %files -n %{name}+smallvec-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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-rustls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-rustls-devel %{_description} This package contains library source intended for building other packages which use the "tokio-rustls" feature of the "%{crate}" crate. %files -n %{name}+tokio-rustls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-subscriber-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-subscriber-devel %{_description} This package contains library source intended for building other packages which use the "tracing-subscriber" feature of the "%{crate}" crate. %files -n %{name}+tracing-subscriber-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tsig-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tsig-devel %{_description} This package contains library source intended for building other packages which use the "tsig" feature of the "%{crate}" crate. %files -n %{name}+tsig-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-server-transport-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-server-transport-devel %{_description} This package contains library source intended for building other packages which use the "unstable-server-transport" feature of the "%{crate}" crate. %files -n %{name}+unstable-server-transport-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-stelline-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-stelline-devel %{_description} This package contains library source intended for building other packages which use the "unstable-stelline" feature of the "%{crate}" crate. %files -n %{name}+unstable-stelline-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-zonetree-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-zonetree-devel %{_description} This package contains library source intended for building other packages which use the "unstable-zonetree" feature of the "%{crate}" crate. %files -n %{name}+unstable-zonetree-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+validate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+validate-devel %{_description} This package contains library source intended for building other packages which use the "validate" feature of the "%{crate}" crate. %files -n %{name}+validate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zonefile-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zonefile-devel %{_description} This package contains library source intended for building other packages which use the "zonefile" feature of the "%{crate}" crate. %files -n %{name}+zonefile-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 # * moka is not yet available, rhbz#2302590 %cargo_test -- -- --skip client-transport %endif %changelog ## START: Generated by rpmautospec * Wed Sep 11 2024 Petr Menšík - 0.10.1-4 - Skip also resolv-sync to avoid moka (rhbz#2302590) * Wed Sep 11 2024 Petr Menšík - 0.10.1-3 - Skip moka dependence for now (rhbz#2302590) * Sat Aug 03 2024 Petr Menšík - 0.10.1-2 - Use rust2rpm -p to correct versions * Sat Aug 03 2024 Petr Menšík - 0.10.1-1 - Update to 0.10.1 (rhbz#2277964) * Sat Aug 03 2024 Petr Menšík - 0.10.0-1 - Update to 0.10.0 (rhbz#2277964) * Fri Jul 19 2024 Fedora Release Engineering - 0.9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 04 2024 Petr Menšík - 0.9.3-1 - Update to 0.9.3 (#2256098) * Thu Nov 16 2023 Petr Menšík - 0.9.2-1 - Update to 0.9.2 (#2244798) * Tue Sep 19 2023 Fabio Valentini - 0.8.1-1 - Update to version 0.8.1; Fixes RHBZ#2239479 * Mon Jul 31 2023 Petr Menšík - 0.8.0-2 - Remove rust-ring arch hacks * Mon Jul 31 2023 Petr Menšík - 0.8.0-1 - Update to 0.8.0 * Mon Jul 31 2023 Petr Menšík - 0.7.2-2 - Create very minimal readme. * Mon Jul 31 2023 Petr Menšík - 0.7.2-1 - Initial build ## END: Generated by rpmautospec