Remove harmful deny(warnings) lint

epel9 imports/e9/rust-simdutf8-0.1.4-3.el9
Fabio Valentini 2 years ago
parent 66be606b57
commit e5887d7b78
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,21 @@
From f5fca0fe3effefb9115da27c600727c0399ceb9a Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Wed, 11 Jan 2023 21:38:39 +0100
Subject: [PATCH] remove harmful deny(warnings) lint
---
src/lib.rs | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lib.rs b/src/lib.rs
index 5bdffb8..fd2556b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,4 +1,3 @@
-#![deny(warnings)]
#![warn(unused_extern_crates)]
#![deny(
clippy::all,
--
2.39.0

@ -1,20 +1,19 @@
# Generated by rust2rpm 21
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate simdutf8
Name: rust-%{crate}
Name: rust-simdutf8
Version: 0.1.4
Release: %autorelease
Summary: SIMD-accelerated UTF-8 validation
# 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/simdutf8
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
Patch: 0001-remove-harmful-deny-warnings-lint.patch
BuildRequires: rust-packaging >= 21

Loading…
Cancel
Save