Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent b1388c8c64
commit c03b5414a1
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 encoding_rs %global crate encoding_rs
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.8.17 Version: 0.8.17
Release: 2%{?dist} Release: 3%{?dist}
Summary: Gecko-oriented implementation of the Encoding Standard Summary: Gecko-oriented implementation of the Encoding Standard
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -19,17 +18,22 @@ Source: %{crates_source}
Patch0: encoding_rs-fix-metadata.diff Patch0: encoding_rs-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%if ! %{__cargo_skip_build}
BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0) BuildRequires: (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0)
%if %{with check} %if %{with check}
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0) BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0)
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
%endif %endif
%endif
%global _description \ %global _description %{expand:
A Gecko-oriented implementation of the Encoding Standard. Gecko-oriented implementation of the Encoding Standard.}
%description %{_description} %description %{_description}
@ -167,6 +171,18 @@ which use "less-slow-kanji-encode" feature of "%{crate}" crate.
%files -n %{name}+less-slow-kanji-encode-devel %files -n %{name}+less-slow-kanji-encode-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+packed_simd-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+packed_simd-devel %{_description}
This package contains library source intended for building other packages
which use "packed_simd" feature of "%{crate}" crate.
%files -n %{name}+packed_simd-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
@ -179,6 +195,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}+simd-accel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+simd-accel-devel %{_description}
This package contains library source intended for building other packages
which use "simd-accel" feature of "%{crate}" crate.
%files -n %{name}+simd-accel-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
@ -195,6 +223,9 @@ which use "serde" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Jun 09 00:05:11 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.17-3
- Regenerate
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.17-2 * Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.17-2
- Do not pull optional dependencies - Do not pull optional dependencies

Loading…
Cancel
Save