From ad923da0ab4ad24a60e94e9d152e938af07cd6d6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 10 May 2023 19:10:37 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- rust-new_debug_unreachable.spec | 30 ++++++++++++------------------ 2 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index b586f9b..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-new_debug_unreachable - -The rust-new_debug_unreachable package \ No newline at end of file diff --git a/rust-new_debug_unreachable.spec b/rust-new_debug_unreachable.spec index fc96136..f04a0a3 100644 --- a/rust-new_debug_unreachable.spec +++ b/rust-new_debug_unreachable.spec @@ -1,26 +1,20 @@ -# Generated by rust2rpm 13 -# * Tests are not supposed to pass in --release +# Generated by rust2rpm 24 +# * tests can not be run when built in "release" mode %bcond_with check %global debug_package %{nil} %global crate new_debug_unreachable -Name: rust-%{crate} +Name: rust-new_debug_unreachable Version: 1.0.4 Release: %autorelease Summary: Panic in debug, intrinsics::unreachable() in release -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/new_debug_unreachable Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Panic in debug, intrinsics::unreachable() in release (fork of @@ -34,13 +28,13 @@ 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 -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,11 +42,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