diff --git a/rust-unicode-xid.spec b/rust-unicode-xid.spec index 58c4e05..1536ecb 100644 --- a/rust-unicode-xid.spec +++ b/rust-unicode-xid.spec @@ -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-xid Name: rust-%{crate} Version: 0.1.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Determine whether characters have XID_Start/XID_Continue properties # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 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 # * Exclude scripts/*, https://github.com/unicode-rs/unicode-xid/pull/8 Patch0: unicode-xid-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Determine whether characters have the XID_Start or XID_Continue properties\ -according to Unicode Standard Annex #31. +%global _description %{expand: +Determine whether characters have the XID_Start or XID_Continue properties +according to Unicode Standard Annex #31.} %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:07:50 CEST 2019 Igor Gnatenko - 0.1.0-9 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild