diff --git a/.gitignore b/.gitignore index ff8edcc..c7fa07c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /miniz_oxide-0.5.3.crate /miniz_oxide-0.6.2.crate /miniz_oxide-0.7.1.crate +/miniz_oxide-0.7.2.crate diff --git a/rust-miniz_oxide.spec b/rust-miniz_oxide.spec index 6934330..cd4fb42 100644 --- a/rust-miniz_oxide.spec +++ b/rust-miniz_oxide.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate miniz_oxide Name: rust-miniz_oxide -Version: 0.7.1 +Version: 0.7.2 Release: %autorelease Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz @@ -13,7 +13,7 @@ License: MIT OR Zlib OR Apache-2.0 URL: https://crates.io/crates/miniz_oxide Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: DEFLATE compression and decompression library rewritten in Rust based on @@ -99,7 +99,7 @@ use the "with-alloc" 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 86bc300..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -unwanted-features = - alloc - compiler_builtins - core - rustc-dep-of-std diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..4ee8242 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,8 @@ +[features] +hide = [ + "alloc", + "compiler_builtins", + "core", + "rustc-dep-of-std", +] + diff --git a/sources b/sources index 390bc8e..b3b76f6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (miniz_oxide-0.7.1.crate) = 5eb6ffe34a866403273ff0267ff7838aeb50722ca57a03d5a1d842a5f19a3b4af570b133a3b9d64d78eafe49e4b9732b92dd63fd9c6b0ce59b3295daf10f6a3c +SHA512 (miniz_oxide-0.7.2.crate) = 2f8f09d7afdb9d78bfc80a228ded85a215fea05e577e907921f1808f84aae30ab118048d7b53295f11aeb5de70ab6cbdec892f3a2417bedf6f53a4576d095432