diff --git a/.gitignore b/.gitignore index 22bd19c..0acfaa9 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /miniz_oxide-0.4.3.crate /miniz_oxide-0.4.4.crate /miniz_oxide-0.5.3.crate +/miniz_oxide-0.6.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index e58fc5b..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-miniz_oxide - -The rust-miniz_oxide package \ No newline at end of file diff --git a/rust-miniz_oxide.spec b/rust-miniz_oxide.spec index e99008d..2d1f3ba 100644 --- a/rust-miniz_oxide.spec +++ b/rust-miniz_oxide.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate miniz_oxide Name: rust-miniz_oxide -Version: 0.5.3 +Version: 0.6.2 Release: %autorelease Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz @@ -13,12 +13,11 @@ License: MIT OR Zlib OR Apache-2.0 URL: https://crates.io/crates/miniz_oxide Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -DEFLATE compression and decompression library rewritten in Rust based on miniz.} +DEFLATE compression and decompression library rewritten in Rust based on +miniz.} %description %{_description} @@ -51,6 +50,30 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+with-alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+with-alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "with-alloc" feature of the "%{crate}" crate. + +%files -n %{name}+with-alloc-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index badca0e..cf3eaf4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (miniz_oxide-0.5.3.crate) = cc2971ee2a2e891cdb05c1942f533b11a557199421910266ec2e4848a16dfe6882f1c08843035443935d695882720402356b4df4a50ed131a8f5fcc0591a72c5 +SHA512 (miniz_oxide-0.6.2.crate) = 250782e214572acdd11df87c2788cd5f78e8388d9b285d0a850918219678e262e8b9905cc88728f5b70d13920ef9d19c43d243dad8fbcc18f8c8462662ce1419