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

@ -1,30 +1,32 @@
# Generated by rust2rpm
# * Tests are run in infrastructure
%bcond_with check
# Generated by rust2rpm 9
%bcond_without check
%global debug_package %{nil}
%global crate unicode-width
Name: rust-%{crate}
Version: 0.1.5
Release: 5%{?dist}
Release: 9%{?dist}
Summary: Determine displayed width of `char` and `str` types
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/unicode-width
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
# Initial patched metadata
# * Exclude more unneeded files
Patch0: unicode-width-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description \
Determine displayed width of `char` and `str` types\
according to Unicode Standard Annex #11 rules.
%global _description %{expand:
Determine displayed width of `char` and `str` types according to Unicode
Standard Annex #11 rules.}
%description %{_description}
@ -54,6 +56,18 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+bench-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bench-devel %{_description}
This package contains library source intended for building other packages
which use "bench" feature of "%{crate}" crate.
%files -n %{name}+bench-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+no_std-devel
Summary: %{summary}
BuildArch: noarch
@ -67,7 +81,7 @@ which use "no_std" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
@ -82,6 +96,9 @@ which use "no_std" feature of "%{crate}" crate.
%endif
%changelog
* Sun Jun 09 11:08:56 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.5-9
- Regenerate
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save