Initial import (spin 0.5 compat package)

epel9
Fabio Valentini 3 years ago
parent e21690feed
commit 2ff3302bd7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/spin-0.5.2.crate

@ -1,3 +0,0 @@
# rust-spin0.5
The rust-spin0.5 package

@ -0,0 +1,72 @@
# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate spin
Name: rust-%{crate}0.5
Version: 0.5.2
Release: %autorelease
Summary: Synchronization primitives based on spinning
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/spin
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%global _description %{expand:
Synchronization primitives based on spinning. They may contain data, are usable
without `std`, and static initializers are available.}
%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 LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 %{cargo_registry}/%{crate}-%{version_no_tilde}/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 (spin-0.5.2.crate) = fc57f7906da2b7a298c5f89215e881e8827b4d9f934dbf138338e0ee30122d8459483be566268fa374b41d63d8dbf65d42e0b322535ba35c827d7edb2176f267
Loading…
Cancel
Save