Initial import (#2089436)

epel9
Fabio Valentini 3 years ago
parent 134a3e0a19
commit 3fe1f0d217
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/unicode-ident-1.0.1.crate

@ -1,3 +0,0 @@
# rust-unicode-ident
The rust-unicode-ident package

@ -0,0 +1,74 @@
# Generated by rust2rpm 21
# * missing dev-dependencies: fst, roaring
%bcond_with check
%global debug_package %{nil}
%global crate unicode-ident
Name: rust-%{crate}
Version: 1.0.1
Release: %autorelease
Summary: Determine whether characters have the XID_Start or XID_Continue properties
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/unicode-ident
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Determine whether characters have the XID_Start or XID_Continue properties
according to Unicode Standard Annex #31.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
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.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (unicode-ident-1.0.1.crate) = 505650712a51c6f309c97bf72029de1eede33c71b84de9733f5f987859a61225e3d07d369b85a89797d870ea436f30b5b5046306f3d5fd672551a4b30c43e428
Loading…
Cancel
Save