## 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 fundu-core Name: rust-fundu-core Version: 0.3.0 Release: %autorelease Summary: Core driving the implementation of fundu License: MIT URL: https://crates.io/crates/fundu-core Source: %{crates_source} # Manually created patch for downstream crate metadata changes # - Convert rstest version to a lower-bound, as in # https://github.com/fundu-rs/fundu/commit/d1521009053df632931584ad8da4336d307e928d Patch: fundu-core-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The core driving the implementation of fundu.} %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}/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}+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}+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}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} This package contains library source intended for building other packages which use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-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 Nov 15 2024 Benjamin A. Beasley - 0.3.0-4 - Allow rstest 0.23 (and later) * Fri Jul 19 2024 Fedora Release Engineering - 0.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Michel Lind - 0.3.0-1 - Initial package (rhbz#2258184) ## END: Generated by rpmautospec