Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 0b1ca3633d
commit 20b5a7cef2
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,13 +1,12 @@
# Generated by rust2rpm # Generated by rust2rpm 9
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate smallvec %global crate smallvec
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.6.9 Version: 0.6.9
Release: 2%{?dist} Release: 3%{?dist}
Summary: 'Small vector' optimization: store up to a small number of items on the stack Summary: 'Small vector' optimization: store up to a small number of items on the stack
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -16,14 +15,17 @@ URL: https://crates.io/crates/smallvec
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%if %{with check} %if %{with check}
BuildRequires: (crate(bincode/default) >= 1.0.1 with crate(bincode/default) < 2.0.0) BuildRequires: (crate(bincode/default) >= 1.0.1 with crate(bincode/default) < 2.0.0)
%endif %endif
%global _description \ %global _description %{expand:
'Small vector' optimization: store up to a small number of items on the stack. 'Small vector' optimization: store up to a small number of items on the stack.}
%description %{_description} %description %{_description}
@ -53,6 +55,18 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+may_dangle-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+may_dangle-devel %{_description}
This package contains library source intended for building other packages
which use "may_dangle" feature of "%{crate}" crate.
%files -n %{name}+may_dangle-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -65,6 +79,18 @@ which use "serde" feature of "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+specialization-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+specialization-devel %{_description}
This package contains library source intended for building other packages
which use "specialization" feature of "%{crate}" crate.
%files -n %{name}+specialization-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -77,6 +103,18 @@ which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+union-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+union-devel %{_description}
This package contains library source intended for building other packages
which use "union" feature of "%{crate}" crate.
%files -n %{name}+union-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
@ -93,6 +131,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Jun 09 11:01:48 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.9-3
- Regenerate
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.9-2 * Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.9-2
- Do not pull optional dependencies - Do not pull optional dependencies

Loading…
Cancel
Save