parent
afcef45711
commit
d82c863c55
@ -0,0 +1 @@
|
||||
/konst_macro_rules-0.2.14.crate
|
@ -0,0 +1,142 @@
|
||||
# Generated by rust2rpm 21
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate konst_macro_rules
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.2.14
|
||||
Release: %autorelease
|
||||
Summary: Implementation detail of the konst crate
|
||||
|
||||
# Upstream license specification: Zlib
|
||||
License: zlib
|
||||
URL: https://crates.io/crates/konst_macro_rules
|
||||
Source: %{crates_source}
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
|
||||
%global _description %{expand:
|
||||
Implementation detail of the konst crate.}
|
||||
|
||||
%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-ZLIB.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}+const_generics-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+const_generics-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "const_generics" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+const_generics-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+deref_raw_in_fn-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+deref_raw_in_fn-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "deref_raw_in_fn" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+deref_raw_in_fn-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+mut_refs-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+mut_refs-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "mut_refs" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+mut_refs-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+nightly_mut_refs-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+nightly_mut_refs-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "nightly_mut_refs" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+nightly_mut_refs-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+rust_1_55-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+rust_1_55-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "rust_1_55" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+rust_1_55-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+rust_1_56-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+rust_1_56-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "rust_1_56" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+rust_1_56-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
Loading…
Reference in new issue