diff --git a/.gitignore b/.gitignore index e31eb73..03bed4b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /grep-searcher-0.1.8.crate /grep-searcher-0.1.10.crate /grep-searcher-0.1.11.crate +/grep-searcher-0.1.13.crate diff --git a/rust-grep-searcher.spec b/rust-grep-searcher.spec index 76686a8..7775975 100644 --- a/rust-grep-searcher.spec +++ b/rust-grep-searcher.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate grep-searcher Name: rust-grep-searcher -Version: 0.1.11 +Version: 0.1.13 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-searcher Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Fast line oriented regex searching as a library.} @@ -48,7 +48,7 @@ use the "default" 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 890ad25..4954bee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-searcher-0.1.11.crate) = 2ecc99328bbbfbe05924c4c4f8ded0a790eb486c88a67803596c6f185c938912e11ee9d0330760ed67581ff1f2e84dadfc19524bea6065286fc05c4303ce519f +SHA512 (grep-searcher-0.1.13.crate) = 8e7ecbcbe09f5a57fad71e0010d2cc29f3b622bf6ff80cd2d75a8898b43ec7ca43a1d8efb4921032f865a81c38176c694faf6627cc747350a31510bef662cf9f