f6fb757
# Generated by rust2rpm 25
ee62c0a
%bcond_without check
ee62c0a
%global debug_package %{nil}
ee62c0a
ee62c0a
%global crate const_format
ee62c0a
ac1af5c
Name:           rust-const_format
f6fb757
Version:        0.2.32
ee62c0a
Release:        %autorelease
ee62c0a
Summary:        Compile-time string formatting
ee62c0a
ac1af5c
License:        Zlib
ee62c0a
URL:            https://crates.io/crates/const_format
ee62c0a
Source:         %{crates_source}
ee62c0a
f6fb757
BuildRequires:  cargo-rpm-macros >= 24
ee62c0a
ee62c0a
%global _description %{expand:
ee62c0a
Compile-time string formatting.}
ee62c0a
ee62c0a
%description %{_description}
ee62c0a
ee62c0a
%package        devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description    devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "%{crate}" crate.
ee62c0a
ee62c0a
%files          devel
ee62c0a
%license %{crate_instdir}/LICENSE-ZLIB.md
ee62c0a
%doc %{crate_instdir}/README.md
ee62c0a
%{crate_instdir}/
ee62c0a
ee62c0a
%package     -n %{name}+default-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+default-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "default" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+default-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+__debug-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+__debug-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "__debug" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+__debug-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+__docsrs-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+__docsrs-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "__docsrs" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+__docsrs-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+__only_new_tests-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+__only_new_tests-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "__only_new_tests" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+__only_new_tests-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+__test-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+__test-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "__test" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+__test-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+all-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+all-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "all" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+all-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+assert-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+assert-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "assert" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+assert-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+assertc-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+assertc-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "assertc" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+assertc-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+assertcp-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+assertcp-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "assertcp" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+assertcp-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+const_generics-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+const_generics-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "const_generics" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+const_generics-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+constant_time_as_str-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+constant_time_as_str-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "constant_time_as_str" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+constant_time_as_str-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+derive-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+derive-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "derive" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+derive-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+fmt-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+fmt-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "fmt" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+fmt-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+konst-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+konst-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "konst" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+konst-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+more_str_macros-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+more_str_macros-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "more_str_macros" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+more_str_macros-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ee62c0a
%package     -n %{name}+nightly_const_generics-devel
ee62c0a
Summary:        %{summary}
ee62c0a
BuildArch:      noarch
ee62c0a
ee62c0a
%description -n %{name}+nightly_const_generics-devel %{_description}
ee62c0a
ee62c0a
This package contains library source intended for building other packages which
ee62c0a
use the "nightly_const_generics" feature of the "%{crate}" crate.
ee62c0a
ee62c0a
%files       -n %{name}+nightly_const_generics-devel
ee62c0a
%ghost %{crate_instdir}/Cargo.toml
ee62c0a
ac1af5c
%package     -n %{name}+rust_1_51-devel
ac1af5c
Summary:        %{summary}
ac1af5c
BuildArch:      noarch
ac1af5c
ac1af5c
%description -n %{name}+rust_1_51-devel %{_description}
ac1af5c
ac1af5c
This package contains library source intended for building other packages which
ac1af5c
use the "rust_1_51" feature of the "%{crate}" crate.
ac1af5c
ac1af5c
%files       -n %{name}+rust_1_51-devel
ac1af5c
%ghost %{crate_instdir}/Cargo.toml
ac1af5c
ac1af5c
%package     -n %{name}+rust_1_64-devel
ac1af5c
Summary:        %{summary}
ac1af5c
BuildArch:      noarch
ac1af5c
ac1af5c
%description -n %{name}+rust_1_64-devel %{_description}
ac1af5c
ac1af5c
This package contains library source intended for building other packages which
ac1af5c
use the "rust_1_64" feature of the "%{crate}" crate.
ac1af5c
ac1af5c
%files       -n %{name}+rust_1_64-devel
ac1af5c
%ghost %{crate_instdir}/Cargo.toml
ac1af5c
ee62c0a
%prep
f6fb757
%autosetup -n %{crate}-%{version} -p1
ee62c0a
%cargo_prep
ee62c0a
ee62c0a
%generate_buildrequires
ee62c0a
%cargo_generate_buildrequires
ee62c0a
ee62c0a
%build
ee62c0a
%cargo_build
ee62c0a
ee62c0a
%install
ee62c0a
%cargo_install
ee62c0a
ee62c0a
%if %{with check}
ee62c0a
%check
f6fb757
%cargo_test -f __test
ee62c0a
%endif
ee62c0a
ee62c0a
%changelog
ee62c0a
%autochangelog