initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent b6f342ae8b
commit 03f9e7d7e9

1
.gitignore vendored

@ -0,0 +1 @@
/unicase-2.1.0.crate

@ -0,0 +1,58 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate unicase
Name: rust-%{crate}
Version: 2.1.0
Release: 1%{?dist}
Summary: Case-insensitive wrapper around strings
License: MIT or ASL 2.0
URL: https://crates.io/crates/unicase
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [build-dependencies]
BuildRequires: (crate(version_check) >= 0.1.0 with crate(version_check) < 0.2.0)
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
A case-insensitive wrapper around strings.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%exclude %{cargo_registry}/%{crate}-%{version}/scripts
%changelog
* Wed Nov 29 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (unicase-2.1.0.crate) = 422a3424266e262e283ca5af6247ec393670af8e214c4e7d1c389bc827c7572c57ea865449a7d6a834d56cda0ee13a2bd5f3985087cae2369e612f239e8498a7
Loading…
Cancel
Save