## START: Set by rpmautospec ## (rpmautospec version 0.8.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 27 # * outdated dev-dependencies: notify %bcond check 0 %global debug_package %{nil} %global crate config Name: rust-config Version: 0.15.13 Release: %autorelease Summary: Layered configuration system for Rust applications License: MIT OR Apache-2.0 URL: https://crates.io/crates/config Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Relax ron dependency. Proper update is still worked on. # https://github.com/rust-cli/config-rs/pull/476 Patch: config-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Layered configuration system for Rust applications.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-devel %{_description} This package contains library source intended for building other packages which use the "async" feature of the "%{crate}" crate. %files -n %{name}+async-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-trait-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-trait-devel %{_description} This package contains library source intended for building other packages which use the "async-trait" feature of the "%{crate}" crate. %files -n %{name}+async-trait-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+convert-case-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+convert-case-devel %{_description} This package contains library source intended for building other packages which use the "convert-case" feature of the "%{crate}" crate. %files -n %{name}+convert-case-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+convert_case-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+convert_case-devel %{_description} This package contains library source intended for building other packages which use the "convert_case" feature of the "%{crate}" crate. %files -n %{name}+convert_case-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+indexmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+indexmap-devel %{_description} This package contains library source intended for building other packages which use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ini-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ini-devel %{_description} This package contains library source intended for building other packages which use the "ini" feature of the "%{crate}" crate. %files -n %{name}+ini-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json-devel %{_description} This package contains library source intended for building other packages which use the "json" feature of the "%{crate}" crate. %files -n %{name}+json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json5-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json5-devel %{_description} This package contains library source intended for building other packages which use the "json5" feature of the "%{crate}" crate. %files -n %{name}+json5-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json5_rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json5_rs-devel %{_description} This package contains library source intended for building other packages which use the "json5_rs" feature of the "%{crate}" crate. %files -n %{name}+json5_rs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+preserve_order-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+preserve_order-devel %{_description} This package contains library source intended for building other packages which use the "preserve_order" feature of the "%{crate}" crate. %files -n %{name}+preserve_order-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ron-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ron-devel %{_description} This package contains library source intended for building other packages which use the "ron" feature of the "%{crate}" crate. %files -n %{name}+ron-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rust-ini-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust-ini-devel %{_description} This package contains library source intended for building other packages which use the "rust-ini" feature of the "%{crate}" crate. %files -n %{name}+rust-ini-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_json-devel %{_description} This package contains library source intended for building other packages which use the "serde_json" feature of the "%{crate}" crate. %files -n %{name}+serde_json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+toml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+toml-devel %{_description} This package contains library source intended for building other packages which use the "toml" feature of the "%{crate}" crate. %files -n %{name}+toml-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+yaml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml-devel %{_description} This package contains library source intended for building other packages which use the "yaml" feature of the "%{crate}" crate. %files -n %{name}+yaml-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+yaml-rust2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml-rust2-devel %{_description} This package contains library source intended for building other packages which use the "yaml-rust2" feature of the "%{crate}" crate. %files -n %{name}+yaml-rust2-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 Jul 31 2025 Cristian Le - 0.15.13-1 - Update to 0.15.13 (rhbz#2262210) * Fri Jul 25 2025 Fedora Release Engineering - 0.13.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.13.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 0.13.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Nov 25 2023 Fabio Valentini - 0.13.4-1 - Update to version 0.13.4; Fixes RHBZ#2250999 * Fri Jul 21 2023 Fedora Release Engineering - 0.13.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat May 06 2023 Aleksei Bavshin - 0.13.3-3 - Bump rust-notify dependency to 5.x * Mon Mar 20 2023 Fabio Valentini - 0.13.3-2 - Regenerate with rust2rpm v24. * Fri Feb 17 2023 Peter Robinson - 0.13.3-1 - Update to 0.13.3 * Fri Jan 20 2023 Fedora Release Engineering - 0.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Oct 21 2022 Peter Robinson - 0.12.0-1 - Initial package ## END: Generated by rpmautospec