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

@ -1,13 +1,12 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate unicode-bidi
Name: rust-%{crate}
Version: 0.3.4
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Implementation of the Unicode Bidirectional Algorithm
# Upstream license specification: MIT / Apache-2.0
@ -16,15 +15,14 @@ URL: https://crates.io/crates/unicode-bidi
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(matches/default) >= 0.1.0 with crate(matches/default) < 0.2.0)
%if %{with check}
BuildRequires: (crate(serde_test/default) >= 0.8.0 with crate(serde_test/default) < 2.0.0)
%endif
%global _description \
Implementation of the Unicode Bidirectional Algorithm.
%global _description %{expand:
Implementation of the Unicode Bidirectional Algorithm.}
%description %{_description}
@ -54,6 +52,54 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+bench_it-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bench_it-devel %{_description}
This package contains library source intended for building other packages
which use "bench_it" feature of "%{crate}" crate.
%files -n %{name}+bench_it-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+flame-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+flame-devel %{_description}
This package contains library source intended for building other packages
which use "flame" feature of "%{crate}" crate.
%files -n %{name}+flame-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+flame_it-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+flame_it-devel %{_description}
This package contains library source intended for building other packages
which use "flame_it" feature of "%{crate}" crate.
%files -n %{name}+flame_it-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+flamer-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+flamer-devel %{_description}
This package contains library source intended for building other packages
which use "flamer" feature of "%{crate}" crate.
%files -n %{name}+flamer-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
BuildArch: noarch
@ -94,6 +140,9 @@ which use "with_serde" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -107,6 +156,9 @@ which use "with_serde" feature of "%{crate}" crate.
%endif
%changelog
* Thu Jun 20 11:14:29 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.4-9
- Regenerate
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.4-8
- Do not pull optional dependencies

Loading…
Cancel
Save