diff --git a/.gitignore b/.gitignore index 09107ce..7ef7058 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/zstd-0.12.4.crate +SOURCES/zstd-0.13.0.crate diff --git a/.rust-zstd.metadata b/.rust-zstd.metadata index fe199a8..812df6f 100644 --- a/.rust-zstd.metadata +++ b/.rust-zstd.metadata @@ -1 +1 @@ -6d866e5a095e860f33c327b1a11fe95d7bf5e561 SOURCES/zstd-0.12.4.crate +9e412cea2908f5507f21990c8c565b02b18ec9f3 SOURCES/zstd-0.13.0.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..0ce69ff --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests require files that are not included in published crates"] + diff --git a/SOURCES/zstd-fix-metadata.diff b/SOURCES/zstd-fix-metadata.diff deleted file mode 100644 index 728ccbd..0000000 --- a/SOURCES/zstd-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- zstd-0.12.4/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ zstd-0.12.4/Cargo.toml 2023-08-01T13:08:03.435950+00:00 -@@ -15,7 +15,7 @@ - name = "zstd" - version = "0.12.4" - authors = ["Alexandre Bury "] --exclude = ["assets/*.zst"] -+exclude = ["/assets/", "/appveyor.yml", "/rustfmt.toml"] - description = "Binding for the zstd compression library." - documentation = "https://docs.rs/zstd" - readme = "Readme.md" diff --git a/SPECS/rust-zstd.spec b/SPECS/rust-zstd.spec index f53c7d8..5337c80 100644 --- a/SPECS/rust-zstd.spec +++ b/SPECS/rust-zstd.spec @@ -1,5 +1,5 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.3.5) +## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; @@ -8,7 +8,7 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * tests require files that are not included in published crates %bcond_with check %global debug_package %{nil} @@ -16,18 +16,15 @@ %global crate zstd Name: rust-zstd -Version: 0.12.4 +Version: 0.13.0 Release: %autorelease Summary: Binding for the zstd compression library License: MIT URL: https://crates.io/crates/zstd Source: %{crates_source} -# Manually created patch for downstream crate metadata changes -# * exclude files that are only useful for upstream development -Patch: zstd-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Binding for the zstd compression library.} @@ -229,7 +226,7 @@ use the "zstdmt" 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 @@ -247,9 +244,13 @@ use the "zstdmt" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.12.4-1 +## START: Generated by rpmautospec +* Mon Jan 15 2024 Arkady L. Shane - 0.13.0-1 - Rebuilt for MSVSphere 9.3 +* Mon Jan 15 2024 Fabio Valentini - 0.13.0-1 +- Update to version 0.13.0; Fixes RHBZ#2243312 + * Tue Aug 01 2023 Fabio Valentini - 0.12.4-1 - Update to version 0.12.4; Fixes RHBZ#2224018 @@ -307,3 +308,4 @@ use the "zstdmt" feature of the "%{crate}" crate. * Mon Dec 16 06:14:56 CET 2019 Robert-André Mauchin - 0.5.1-1 - Initial package +## END: Generated by rpmautospec