## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 # * compiling tests fails with OOM issues on 32-bit architectures %ifarch %{ix86} %{arm} %bcond_with check %else %bcond_without check %endif %global debug_package %{nil} %global crate prost Name: rust-prost0.8 Version: 0.8.0 Release: %autorelease Summary: Protocol Buffers implementation for the Rust Language License: Apache-2.0 URL: https://crates.io/crates/prost Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency Patch: prost-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A Protocol Buffers implementation for the Rust Language.} %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}/FUZZING.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}+no-recursion-limit-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no-recursion-limit-devel %{_description} This package contains library source intended for building other packages which use the "no-recursion-limit" feature of the "%{crate}" crate. %files -n %{name}+no-recursion-limit-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+prost-derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+prost-derive-devel %{_description} This package contains library source intended for building other packages which use the "prost-derive" feature of the "%{crate}" crate. %files -n %{name}+prost-derive-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 %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.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Oct 28 2023 Fabio Valentini - 0.8.0-4 - Regenerate with rust2rpm v25 * Fri Jul 21 2023 Fedora Release Engineering - 0.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 21 2023 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 28 2022 Fabio Valentini - 0.8.0-1 - Initial import (prost 0.8 compat package) ## END: Generated by rpmautospec