Merge branch 'rawhide' into epel9

epel9 imports/e9/rust-unicode-xid-0.2.4-2.el9
Fabio Valentini 2 years ago
commit 09f9aa6046
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

2
.gitignore vendored

@ -2,3 +2,5 @@
/unicode-xid-0.2.0.crate
/unicode-xid-0.2.1.crate
/unicode-xid-0.2.2.crate
/unicode-xid-0.2.3.crate
/unicode-xid-0.2.4.crate

@ -1,25 +1,24 @@
# Generated by rust2rpm 19
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate unicode-xid
Name: rust-%{crate}
Version: 0.2.2
Name: rust-unicode-xid
Version: 0.2.4
Release: %autorelease
Summary: Determine whether characters have the XID_Start or XID_Continue properties according to Unicode Standard Annex #31
Summary: Check characters for the XID_Start and XID_Continue properties
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/unicode-xid
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: unicode-xid-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Determine whether characters have the XID_Start or XID_Continue properties
@ -34,12 +33,14 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use "%{crate}" crate.
use the "%{crate}" crate.
%files devel
%license COPYRIGHT LICENSE-APACHE LICENSE-MIT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/COPYRIGHT
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -48,10 +49,10 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which
use "the default" feature of the "%{crate}" crate.
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+bench-devel
Summary: %{summary}
@ -60,10 +61,10 @@ BuildArch: noarch
%description -n %{name}+bench-devel %{_description}
This package contains library source intended for building other packages which
use "the bench" feature of the "%{crate}" crate.
use the "bench" feature of the "%{crate}" crate.
%files -n %{name}+bench-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+no_std-devel
Summary: %{summary}
@ -72,10 +73,10 @@ BuildArch: noarch
%description -n %{name}+no_std-devel %{_description}
This package contains library source intended for building other packages which
use "the no_std" feature of the "%{crate}" crate.
use the "no_std" feature of the "%{crate}" crate.
%files -n %{name}+no_std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (unicode-xid-0.2.2.crate) = 92ffd0dd34e3ca235ecf110b38c447d3ec1faa23d76c112457f28d432f92fa6b5f428bc5e1bfd278f361f55426dd96e19ecb0d3eff6cf250892f069c52bd89a8
SHA512 (unicode-xid-0.2.4.crate) = e67bd1258e1961807d9d5fe583a89ab5b82b2a529ecd32cadfc79aa5331380eb4a2db9fd96b74c8eace47f2f29021587d69bcdbf79f7e2650e92a25f7839d03c

@ -0,0 +1,12 @@
--- unicode-xid-0.2.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ unicode-xid-0.2.4/Cargo.toml 2022-10-05T12:36:46.270378+00:00
@@ -42,9 +42,6 @@
name = "xid"
harness = false
-[dev-dependencies.criterion]
-version = "0.3"
-
[features]
bench = []
default = []
Loading…
Cancel
Save