Update to version 0.9.2; Fixes RHBZ#1886624

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

1
.gitignore vendored

@ -5,3 +5,4 @@
/spin-0.4.10.crate /spin-0.4.10.crate
/spin-0.5.0.crate /spin-0.5.0.crate
/spin-0.5.2.crate /spin-0.5.2.crate
/spin-0.9.2.crate

@ -1,13 +1,13 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 20
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate spin %global crate spin
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.5.2 Version: 0.9.2
Release: %autorelease Release: %autorelease
Summary: Synchronization primitives based on spinning Summary: Spin-based synchronization primitives
# Upstream license specification: MIT # Upstream license specification: MIT
License: MIT License: MIT
@ -15,15 +15,11 @@ URL: https://crates.io/crates/spin
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Synchronization primitives based on spinning. They may contain data, are usable Spin-based synchronization primitives.}
without `std`, and static initializers are available.}
%description %{_description} %description %{_description}
@ -34,11 +30,11 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license LICENSE
%doc README.md %doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
@ -48,11 +44,143 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which 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 %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+barrier-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+barrier-devel %{_description}
This package contains library source intended for building other packages which
use the "barrier" feature of the "%{crate}" crate.
%files -n %{name}+barrier-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+lazy-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lazy-devel %{_description}
This package contains library source intended for building other packages which
use the "lazy" feature of the "%{crate}" crate.
%files -n %{name}+lazy-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+lock_api-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lock_api-devel %{_description}
This package contains library source intended for building other packages which
use the "lock_api" feature of the "%{crate}" crate.
%files -n %{name}+lock_api-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+lock_api_crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lock_api_crate-devel %{_description}
This package contains library source intended for building other packages which
use the "lock_api_crate" feature of the "%{crate}" crate.
%files -n %{name}+lock_api_crate-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mutex-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mutex-devel %{_description}
This package contains library source intended for building other packages which
use the "mutex" feature of the "%{crate}" crate.
%files -n %{name}+mutex-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+once-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+once-devel %{_description}
This package contains library source intended for building other packages which
use the "once" feature of the "%{crate}" crate.
%files -n %{name}+once-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+rwlock-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rwlock-devel %{_description}
This package contains library source intended for building other packages which
use the "rwlock" feature of the "%{crate}" crate.
%files -n %{name}+rwlock-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+spin_mutex-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+spin_mutex-devel %{_description}
This package contains library source intended for building other packages which
use the "spin_mutex" feature of the "%{crate}" crate.
%files -n %{name}+spin_mutex-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+ticket_mutex-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ticket_mutex-devel %{_description}
This package contains library source intended for building other packages which
use the "ticket_mutex" feature of the "%{crate}" crate.
%files -n %{name}+ticket_mutex-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+use_ticket_mutex-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+use_ticket_mutex-devel %{_description}
This package contains library source intended for building other packages which
use the "use_ticket_mutex" feature of the "%{crate}" crate.
%files -n %{name}+use_ticket_mutex-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep

@ -1 +1 @@
SHA512 (spin-0.5.2.crate) = fc57f7906da2b7a298c5f89215e881e8827b4d9f934dbf138338e0ee30122d8459483be566268fa374b41d63d8dbf65d42e0b322535ba35c827d7edb2176f267 SHA512 (spin-0.9.2.crate) = f6d112567df533063b1571e140929505f5c519479ac27fc8c1d02e3fe36176af86d12db15dcf1ff9376b251a20d4e991ea57d6cbe8533c62810c9f67d7471fd7

Loading…
Cancel
Save