From 65912ef1f63ff3e2043f0f295f589222806e8ce1 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Tue, 18 Feb 2020 03:55:10 +0100 Subject: [PATCH] Disable tests Signed-off-by: Igor Raits --- rand-0.5.6-allow-warnings.patch | 11 ----------- rust-rand0.5.spec | 32 +++++++++++++++++--------------- 2 files changed, 17 insertions(+), 26 deletions(-) delete mode 100644 rand-0.5.6-allow-warnings.patch diff --git a/rand-0.5.6-allow-warnings.patch b/rand-0.5.6-allow-warnings.patch deleted file mode 100644 index dc5790b..0000000 --- a/rand-0.5.6-allow-warnings.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- rand-0.5.6/src/lib.rs.orig 2019-01-26 02:19:33.000000000 -0800 -+++ rand-0.5.6/src/lib.rs 2019-12-10 12:35:23.150740539 -0800 -@@ -228,7 +228,7 @@ - - #![deny(missing_docs)] - #![deny(missing_debug_implementations)] --#![doc(test(attr(allow(unused_variables), deny(warnings))))] -+#![doc(test(attr(allow(unused_variables))))] - - #![cfg_attr(not(feature="std"), no_std)] - #![cfg_attr(all(feature="alloc", not(feature="std")), feature(alloc))] diff --git a/rust-rand0.5.spec b/rust-rand0.5.spec index 767e03a..9d18578 100644 --- a/rust-rand0.5.spec +++ b/rust-rand0.5.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 -%bcond_without check +# Generated by rust2rpm 13 +%bcond_with check %global debug_package %{nil} %global crate rand Name: rust-%{crate}0.5 Version: 0.5.6 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Random number generators and other randomness functionality # Upstream license specification: MIT/Apache-2.0 @@ -17,7 +17,6 @@ Source: %{crates_source} # * Exclude CI files, https://github.com/rust-random/rand/pull/635 # * Remove non-unix dependencies Patch0: rand-fix-metadata.diff -Patch1: rand-0.5.6-allow-warnings.patch ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -43,7 +42,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -55,7 +54,7 @@ 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} @@ -67,7 +66,7 @@ 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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+i128_support-devel Summary: %{summary} @@ -79,7 +78,7 @@ This package contains library source intended for building other packages which use "i128_support" feature of "%{crate}" crate. %files -n %{name}+i128_support-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} @@ -91,7 +90,7 @@ This package contains library source intended for building other packages which use "libc" feature of "%{crate}" crate. %files -n %{name}+libc-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} @@ -103,7 +102,7 @@ This package contains library source intended for building other packages which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} @@ -115,7 +114,7 @@ This package contains library source intended for building other packages which use "nightly" feature of "%{crate}" crate. %files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -127,7 +126,7 @@ This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde1-devel Summary: %{summary} @@ -139,7 +138,7 @@ This package contains library source intended for building other packages which use "serde1" feature of "%{crate}" crate. %files -n %{name}+serde1-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde_derive-devel Summary: %{summary} @@ -151,7 +150,7 @@ This package contains library source intended for building other packages which use "serde_derive" feature of "%{crate}" crate. %files -n %{name}+serde_derive-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -163,7 +162,7 @@ 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_no_tilde} -p1 @@ -184,6 +183,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Tue Feb 18 03:54:19 CET 2020 Igor Raits - 0.5.6-8 +- Disable tests + * Thu Jan 30 2020 Fedora Release Engineering - 0.5.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild