From 9034fe86256e91618dd8c01b0ee1e801143b9b95 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 31 Dec 2023 19:44:37 +0100 Subject: [PATCH] Update to version 0.3.1; Fixes RHBZ#2251596 --- .gitignore | 1 + rust-grep.spec | 8 ++++---- rust2rpm.conf | 4 ---- rust2rpm.toml | 6 ++++++ sources | 2 +- 5 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 5a0c293..086834b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /grep-0.2.10.crate /grep-0.2.11.crate /grep-0.2.12.crate +/grep-0.3.1.crate diff --git a/rust-grep.spec b/rust-grep.spec index f7b1971..0d99ec3 100644 --- a/rust-grep.spec +++ b/rust-grep.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate grep Name: rust-grep -Version: 0.2.12 +Version: 0.3.1 Release: %autorelease Summary: Fast line oriented regex searching as a library @@ -13,7 +13,7 @@ License: Unlicense OR MIT URL: https://crates.io/crates/grep Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Fast line oriented regex searching as a library.} @@ -73,7 +73,7 @@ use the "pcre2" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index cae7951..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -unwanted-features = - avx-accel - simd-accel diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..a4eba90 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,6 @@ +[features] +hide = [ + "avx-accel", + "simd-accel", +] + diff --git a/sources b/sources index f671602..54720f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-0.2.12.crate) = 369993bd6d336e32936d454e6850b18316f2eab61ce1eb02e8c159262f1d8e850d9045596c5ca87470f8d7e8e5cf3790f5b9efbd8a0b895516edd9367c6a5a8e +SHA512 (grep-0.3.1.crate) = 2ce36f84a561f5a66b67e2f0b79ecb9d7a3220fd48f4b0215c4964d2e686f096aa52890b79ae770f4857a1393a2e482750e171606a1c25f1cc6295bf439d694f