Update to 1.2.0

epel9
Josh Stone 5 years ago
parent ed69e043a3
commit 81b0af1fec

1
.gitignore vendored

@ -1,3 +1,4 @@
/stable_deref_trait-1.0.0.crate
/stable_deref_trait-1.1.0.crate
/stable_deref_trait-1.1.1.crate
/stable_deref_trait-1.2.0.crate

@ -1,4 +1,4 @@
# Generated by rust2rpm
# Generated by rust2rpm 13
# * Tests are run in infrastructure
%bcond_with check
%global debug_package %{nil}
@ -6,23 +6,26 @@
%global crate stable_deref_trait
Name: rust-%{crate}
Version: 1.1.1
Release: 6%{?dist}
Version: 1.2.0
Release: 1%{?dist}
Summary: Unsafe marker trait that dereference to a stable address even when moved
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/stable_deref_trait
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description \
An unsafe marker trait for types like Box and Rc that dereference to a stable\
address even when moved, and hence can be used with libraries such as\
owning_ref and rental.
%global _description %{expand:
An unsafe marker trait for types like Box and Rc that dereference to a stable
address even when moved, and hence can be used with libraries such as
owning_ref and rental.}
%description %{_description}
@ -38,7 +41,7 @@ which use "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,7 +53,19 @@ This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages
which use "alloc" feature of "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@ -62,12 +77,15 @@ This package contains library source intended for building other packages
which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -80,6 +98,9 @@ which use "std" feature of "%{crate}" crate.
%endif
%changelog
* Tue Jul 14 2020 Josh Stone <jistone@redhat.com> - 1.2.0-1
- Update to 1.2.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

@ -1 +1 @@
SHA512 (stable_deref_trait-1.1.1.crate) = ca224226d612e1c4eb178271cee0d18b44fc036959e528d720e33f65c3ecd7a40c20d32f294c029d0d7b74dc6ce57d19aadfe3cf02c5f894e94ddb3bb06898e4
SHA512 (stable_deref_trait-1.2.0.crate) = a13cfb22723f1f2cf089b2d07d657846f50c37bc0438d1a76096bea30214cad226b7a422c21f9e191ce87071da8a141d61882aedf9e0203a5fffdfda86a5fb03

Loading…
Cancel
Save