diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..591021c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/png-0.17.11.crate diff --git a/.rust-png.metadata b/.rust-png.metadata index e69de29..526fd35 100644 --- a/.rust-png.metadata +++ b/.rust-png.metadata @@ -0,0 +1 @@ +a110c622a043cbf94689553008dc1f4ae1f78373 SOURCES/png-0.17.11.crate diff --git a/SOURCES/png-0.17.10.crate b/SOURCES/png-0.17.10.crate deleted file mode 100644 index c9bc183..0000000 Binary files a/SOURCES/png-0.17.10.crate and /dev/null differ diff --git a/SOURCES/png-fix-metadata.diff b/SOURCES/png-fix-metadata.diff index 3d66132..cbbfab3 100644 --- a/SOURCES/png-fix-metadata.diff +++ b/SOURCES/png-fix-metadata.diff @@ -1,11 +1,11 @@ ---- png-0.17.10/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ png-0.17.10/Cargo.toml 2023-08-23T09:39:01.853877+00:00 -@@ -55,9 +55,6 @@ +--- png-0.17.11/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ png-0.17.11/Cargo.toml 2024-01-13T21:18:38.474463+00:00 +@@ -64,9 +64,6 @@ version = "3.0" features = ["derive"] -[dev-dependencies.criterion] --version = "0.3.1" +-version = "0.4.0" - [dev-dependencies.getopts] version = "0.2.14" diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..88b98f2 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependencies: glium ^0.32"] + diff --git a/SPECS/rust-png.spec b/SPECS/rust-png.spec index 8c8ff1e..473fea7 100644 --- a/SPECS/rust-png.spec +++ b/SPECS/rust-png.spec @@ -8,15 +8,15 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 -# * missing dev-dependencies: glium +# Generated by rust2rpm 25 +# * missing dev-dependencies: glium ^0.32 %bcond_with check %global debug_package %{nil} %global crate png Name: rust-png -Version: 0.17.10 +Version: 0.17.11 Release: %autorelease Summary: Decoding and encoding library in pure Rust @@ -24,10 +24,10 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/png Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * drop unused, benchmark-only criterion dev-dependency to speed up builds +# * drop unused, benchmark-only criterion dev-dependency Patch: png-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: PNG decoding and encoding library in pure Rust.} @@ -87,7 +87,7 @@ use the "unstable" 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 @@ -105,9 +105,12 @@ use the "unstable" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.17.10-1 +* Mon Jan 15 2024 Arkady L. Shane - 0.17.11-1 - Rebuilt for MSVSphere 9.3 +* Sat Jan 13 2024 Fabio Valentini - 0.17.11-1 +- Update to version 0.17.11; Fixes RHBZ#2258269 + * Wed Aug 23 2023 Fabio Valentini - 0.17.10-1 - Update to version 0.17.10; Fixes RHBZ#2232717