Update to version 1.0.7; Fixes RHBZ#2078256

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

1
.gitignore vendored

@ -4,3 +4,4 @@
/ref-cast-1.0.3.crate
/ref-cast-1.0.5.crate
/ref-cast-1.0.6.crate
/ref-cast-1.0.7.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 17
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate ref-cast
Name: rust-%{crate}
Version: 1.0.6
Version: 1.0.7
Release: %autorelease
Summary: Safely cast &T to &U where the struct U contains a single field of type T
@ -15,11 +15,8 @@ URL: https://crates.io/crates/ref-cast
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Safely cast &T to &U where the struct U contains a single field of type T.}
@ -32,13 +29,14 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,11 +44,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
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
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (ref-cast-1.0.6.crate) = d3d06c4ea78a0f043f88c10c953160725bbe55d64505528d8127a73ed090d04ced19a9935cb78e1fa6ea562f706fdd5679b070be0a344106ee09f303cad0f43f
SHA512 (ref-cast-1.0.7.crate) = 4b07a2adf9738b680bd30e1a6cf98cbd3b90bea58a00c2418307dc2fb696348bc726e83e707c2207f452108f93459631157a212137d99cedbc43658318fd9ef2

Loading…
Cancel
Save