## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 %bcond check 0 %global crate fake Name: rust-fake Version: 4.4.0 Release: %autorelease Summary: Easy to use library and command line for generating fake data License: MIT OR Apache-2.0 URL: https://crates.io/crates/fake Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An easy to use library and command line for generating fake data like name, number, address, lorem, dates, etc.} %description %{_description} %package -n %{crate} Summary: %{summary} %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE-APACHE %license LICENSE-MIT %license LICENSE.dependencies %doc README.md %{_bindir}/fake %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}+always-true-rng-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+always-true-rng-devel %{_description} This package contains library source intended for building other packages which use the "always-true-rng" feature of the "%{crate}" crate. %files -n %{name}+always-true-rng-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+base64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+base64-devel %{_description} This package contains library source intended for building other packages which use the "base64" feature of the "%{crate}" crate. %files -n %{name}+base64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bigdecimal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bigdecimal-devel %{_description} This package contains library source intended for building other packages which use the "bigdecimal" feature of the "%{crate}" crate. %files -n %{name}+bigdecimal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bigdecimal-rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bigdecimal-rs-devel %{_description} This package contains library source intended for building other packages which use the "bigdecimal-rs" feature of the "%{crate}" crate. %files -n %{name}+bigdecimal-rs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bson-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bson-devel %{_description} This package contains library source intended for building other packages which use the "bson" feature of the "%{crate}" crate. %files -n %{name}+bson-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bson_oid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bson_oid-devel %{_description} This package contains library source intended for building other packages which use the "bson_oid" feature of the "%{crate}" crate. %files -n %{name}+bson_oid-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}+chrono-tz-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-tz-devel %{_description} This package contains library source intended for building other packages which use the "chrono-tz" feature of the "%{crate}" crate. %files -n %{name}+chrono-tz-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cli-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cli-devel %{_description} This package contains library source intended for building other packages which use the "cli" feature of the "%{crate}" crate. %files -n %{name}+cli-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+derive-devel %{_description} This package contains library source intended for building other packages which use the "derive" feature of the "%{crate}" crate. %files -n %{name}+derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dummy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dummy-devel %{_description} This package contains library source intended for building other packages which use the "dummy" feature of the "%{crate}" crate. %files -n %{name}+dummy-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+either-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+either-devel %{_description} This package contains library source intended for building other packages which use the "either" feature of the "%{crate}" crate. %files -n %{name}+either-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+email_address-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+email_address-devel %{_description} This package contains library source intended for building other packages which use the "email_address" feature of the "%{crate}" crate. %files -n %{name}+email_address-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ferroid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ferroid-devel %{_description} This package contains library source intended for building other packages which use the "ferroid" feature of the "%{crate}" crate. %files -n %{name}+ferroid-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+geo-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+geo-devel %{_description} This package contains library source intended for building other packages which use the "geo" feature of the "%{crate}" crate. %files -n %{name}+geo-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+geo-types-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+geo-types-devel %{_description} This package contains library source intended for building other packages which use the "geo-types" feature of the "%{crate}" crate. %files -n %{name}+geo-types-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glam-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glam-devel %{_description} This package contains library source intended for building other packages which use the "glam" feature of the "%{crate}" crate. %files -n %{name}+glam-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+http-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http-devel %{_description} This package contains library source intended for building other packages which use the "http" feature of the "%{crate}" crate. %files -n %{name}+http-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}+maybe-non-empty-collections-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+maybe-non-empty-collections-devel %{_description} This package contains library source intended for building other packages which use the "maybe-non-empty-collections" feature of the "%{crate}" crate. %files -n %{name}+maybe-non-empty-collections-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+num-traits-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+num-traits-devel %{_description} This package contains library source intended for building other packages which use the "num-traits" feature of the "%{crate}" crate. %files -n %{name}+num-traits-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rand_core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rand_core-devel %{_description} This package contains library source intended for building other packages which use the "rand_core" feature of the "%{crate}" crate. %files -n %{name}+rand_core-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+random_color-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+random_color-devel %{_description} This package contains library source intended for building other packages which use the "random_color" feature of the "%{crate}" crate. %files -n %{name}+random_color-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rust_decimal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust_decimal-devel %{_description} This package contains library source intended for building other packages which use the "rust_decimal" feature of the "%{crate}" crate. %files -n %{name}+rust_decimal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+semver-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+semver-devel %{_description} This package contains library source intended for building other packages which use the "semver" feature of the "%{crate}" crate. %files -n %{name}+semver-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}+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 %package -n %{name}+ulid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ulid-devel %{_description} This package contains library source intended for building other packages which use the "ulid" feature of the "%{crate}" crate. %files -n %{name}+ulid-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+url-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+url-devel %{_description} This package contains library source intended for building other packages which use the "url" feature of the "%{crate}" crate. %files -n %{name}+url-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+url-escape-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+url-escape-devel %{_description} This package contains library source intended for building other packages which use the "url-escape" feature of the "%{crate}" crate. %files -n %{name}+url-escape-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+uuid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+uuid-devel %{_description} This package contains library source intended for building other packages which use the "uuid" feature of the "%{crate}" crate. %files -n %{name}+uuid-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zerocopy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zerocopy-devel %{_description} This package contains library source intended for building other packages which use the "zerocopy" feature of the "%{crate}" crate. %files -n %{name}+zerocopy-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f cli %build %cargo_build -f cli %{cargo_license_summary -f cli} %{cargo_license -f cli} > LICENSE.dependencies %install %cargo_install -f cli %if %{with check} %check %cargo_test -f cli %endif %changelog ## START: Generated by rpmautospec * Thu Aug 14 2025 John Doe - 4.4.0-1 - Uncommitted changes ## END: Generated by rpmautospec