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

@ -1,30 +1,32 @@
# 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 unicode-xid %global crate unicode-xid
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.1.0 Version: 0.1.0
Release: 8%{?dist} Release: 9%{?dist}
Summary: Determine whether characters have XID_Start/XID_Continue properties Summary: Determine whether characters have XID_Start/XID_Continue properties
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/unicode-xid URL: https://crates.io/crates/unicode-xid
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * Exclude scripts/*, https://github.com/unicode-rs/unicode-xid/pull/8 # * Exclude scripts/*, https://github.com/unicode-rs/unicode-xid/pull/8
Patch0: unicode-xid-fix-metadata.diff Patch0: unicode-xid-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%global _description \ %global _description %{expand:
Determine whether characters have the XID_Start or XID_Continue properties\ Determine whether characters have the XID_Start or XID_Continue properties
according to Unicode Standard Annex #31. according to Unicode Standard Annex #31.}
%description %{_description} %description %{_description}
@ -54,6 +56,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}+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 %package -n %{name}+no_std-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -67,7 +81,7 @@ which use "no_std" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%build %build
@ -82,6 +96,9 @@ which use "no_std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Jun 09 11:07:50 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-9
- Regenerate
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-8 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save