## 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 # * outdated dev-dependencies: notify, temp-env, warp %bcond_with check %global debug_package %{nil} %global crate config Name: rust-config Version: 0.13.4 Release: %autorelease Summary: Layered configuration system for Rust applications # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/config Source: %{crates_source} 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}/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}+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-rust-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml-rust-devel %{_description} This package contains library source intended for building other packages which use the "yaml-rust" feature of the "%{crate}" crate. %files -n %{name}+yaml-rust-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.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