Update to version 0.1.16; Fixes RHBZ#2132845

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

1
.gitignore vendored

@ -9,3 +9,4 @@
/no-panic-0.1.13.crate
/no-panic-0.1.14.crate
/no-panic-0.1.15.crate
/no-panic-0.1.16.crate

@ -1,25 +1,19 @@
# Generated by rust2rpm 19
%bcond_with check
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate no-panic
Name: rust-%{crate}
Version: 0.1.15
Name: rust-no-panic
Version: 0.1.16
Release: %autorelease
Summary: Attribute macro to require that the compiler prove a function can't ever panic
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/no-panic
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Attribute macro to require that the compiler prove a function can't ever panic.}
@ -33,12 +27,13 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use "%{crate}" crate.
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%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}
@ -47,10 +42,10 @@ 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.
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
@ -67,9 +62,7 @@ use "the default" feature of the "%{crate}" crate.
%if %{with check}
%check
# * skip a test that fails with Rust 1.60+, upstream commit:
# https://github.com/dtolnay/no-panic/commit/fce1081
%cargo_test -- -- --skip no_panic::test_self_in_vec
%cargo_test
%endif
%changelog

@ -1 +1 @@
SHA512 (no-panic-0.1.15.crate) = 3a64c8f463f5fa6cad8785cafb9e50fddf1286d1ebf4e75cb583936be308cea2cc833ed967130c4d566a304558fe690cd08ffff8dfd53b17fb19b8d83cab0ca0
SHA512 (no-panic-0.1.16.crate) = 3409b975f757df5884573835af8673447bdec97c4467694dc9771eac1c289933dba081261724e9411dec1f95057c39974365502e0097603d191ed7141b0aa5eb

Loading…
Cancel
Save