Update to version 1.7.0; Fixes RHBZ#2102427

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

1
.gitignore vendored

@ -6,3 +6,4 @@
/either-1.5.3.crate /either-1.5.3.crate
/either-1.6.0.crate /either-1.6.0.crate
/either-1.6.1.crate /either-1.6.1.crate
/either-1.7.0.crate

@ -1,13 +1,13 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate either %global crate either
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.6.1 Version: 1.7.0
Release: %autorelease Release: %autorelease
Summary: Enum `Either` is a general purpose sum type with two cases Summary: General purpose sum type with two cases
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
@ -15,11 +15,8 @@ URL: https://crates.io/crates/either
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 >= 21
%global _description %{expand: %global _description %{expand:
Enum `Either` with variants `Left` and `Right` is a general purpose sum type Enum `Either` with variants `Left` and `Right` is a general purpose sum type
@ -34,12 +31,14 @@ 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-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README-crates.io.md README.rst %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README-crates.io.md
%doc %{crate_instdir}/README.rst
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,10 +47,10 @@ 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 %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -60,10 +59,10 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-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 serde" feature of the "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+use_std-devel %package -n %{name}+use_std-devel
Summary: %{summary} Summary: %{summary}
@ -72,10 +71,10 @@ BuildArch: noarch
%description -n %{name}+use_std-devel %{_description} %description -n %{name}+use_std-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 use_std" feature of the "%{crate}" crate. use the "use_std" feature of the "%{crate}" crate.
%files -n %{name}+use_std-devel %files -n %{name}+use_std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (either-1.6.1.crate) = 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf SHA512 (either-1.7.0.crate) = 894bf3980def07848a2911734c02eb0c5c5d2ff3ab7656413d2acfd164d120a7c075e0a5f3fb95243b8bda0257a5f457117d5c6eafc146f3f6aaf6c6fbc4cf33

Loading…
Cancel
Save