public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-zstd-sys] epel10.3: Update to version 2.0.17
@ 2026-11-05 12:13 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-05 12:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-zstd-sys
Branch : epel10.3
Commit : 89d12fd9aff87bcecc87c5cd7281b210afb898c9
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-11-05T13:13:12+01:00
Stats : +23/-23 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-zstd-sys/c/89d12fd9aff87bcecc87c5cd7281b210afb898c9?branch=epel10.3
Log:
Update to version 2.0.17
---
diff --git a/.gitignore b/.gitignore
index fe228c9..9b2e532 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
/zstd-sys-2.0.13+zstd.1.5.6.crate
/zstd-sys-2.0.15+zstd.1.5.7.crate
/zstd-sys-2.0.16+zstd.1.5.7.crate
+/zstd-sys-2.0.17+zstd.1.5.7.crate
diff --git a/0001-unconditionally-use-bindgen-and-pkg-config-to-link-a.patch b/0001-unconditionally-use-bindgen-and-pkg-config-to-link-a.patch
index 5066bc5..596b0ba 100644
--- a/0001-unconditionally-use-bindgen-and-pkg-config-to-link-a.patch
+++ b/0001-unconditionally-use-bindgen-and-pkg-config-to-link-a.patch
@@ -1,15 +1,15 @@
-From 1e86c5123c70d62ac86037d088757db884de95d8 Mon Sep 17 00:00:00 2001
+From 7422b1a43d49b792436b251d7bf9b8771a5cf685 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
-Date: Tue, 6 May 2025 15:24:10 +0200
+Date: Thu, 5 Nov 2026 13:05:27 +0100
Subject: [PATCH] unconditionally use bindgen and pkg-config to link against
system libzstd
---
- build.rs | 213 +------------------------------------------------------
- 1 file changed, 3 insertions(+), 210 deletions(-)
+ build.rs | 215 +------------------------------------------------------
+ 1 file changed, 3 insertions(+), 212 deletions(-)
diff --git a/build.rs b/build.rs
-index 80c6b9c..d8299d0 100644
+index b7f7e6b..d8299d0 100644
--- a/build.rs
+++ b/build.rs
@@ -1,8 +1,6 @@
@@ -65,7 +65,7 @@ index 80c6b9c..d8299d0 100644
/// This function would find the first flag in `flags` that is supported
/// and add that to `config`.
#[allow(dead_code)]
-@@ -99,159 +69,6 @@ fn flag_if_supported_with_fallbacks(config: &mut cc::Build, flags: &[&str]) {
+@@ -99,161 +69,6 @@ fn flag_if_supported_with_fallbacks(config: &mut cc::Build, flags: &[&str]) {
}
}
@@ -180,7 +180,9 @@ index 80c6b9c..d8299d0 100644
- // Hide symbols from resulting library,
- // so we can be used with another zstd-linking lib.
- // See https://github.com/gyscos/zstd-rs/issues/58
-- config.flag("-fvisibility=hidden");
+- if ! cfg!(target_env = "msvc") {
+- config.flag("-fvisibility=hidden");
+- }
- config.define("XXH_PRIVATE_API", Some(""));
- config.define("ZSTDLIB_VISIBILITY", Some(""));
- #[cfg(feature = "zdict_builder")]
@@ -225,7 +227,7 @@ index 80c6b9c..d8299d0 100644
/// Print a line for cargo.
///
/// If non-cargo is set, do not print anything.
-@@ -264,32 +81,8 @@ fn cargo_print(content: &dyn fmt::Display) {
+@@ -266,32 +81,8 @@ fn cargo_print(content: &dyn fmt::Display) {
fn main() {
cargo_print(&"rerun-if-env-changed=ZSTD_SYS_USE_PKG_CONFIG");
@@ -260,5 +262,5 @@ index 80c6b9c..d8299d0 100644
let includes: Vec<_> = headerpaths
.iter()
--
-2.49.0
+2.56.0
diff --git a/rust-zstd-sys.spec b/rust-zstd-sys.spec
index 157e8d0..c4504c3 100644
--- a/rust-zstd-sys.spec
+++ b/rust-zstd-sys.spec
@@ -1,17 +1,16 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
%global crate zstd-sys
-%global crate_version 2.0.16+zstd.1.5.7
+%global crate_version 2.0.17+zstd.1.5.7
Name: rust-zstd-sys
-Version: 2.0.16
+Version: 2.0.17
Release: %autorelease
Summary: Low-level bindings for the zstd compression library
-# Upstream license specification: MIT/Apache-2.0
-License: MIT OR Apache-2.0
+License: BSD-3-Clause
URL: https://crates.io/crates/zstd-sys
Source: %{crates_source %{crate} %{crate_version}}
# Automatically generated patch to strip dependencies and normalize metadata
@@ -44,8 +43,6 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
-%license %{crate_instdir}/LICENSE.Apache-2.0
-%license %{crate_instdir}/LICENSE.Mit
%doc %{crate_instdir}/Readme.md
%{crate_instdir}/
diff --git a/sources b/sources
index 0abb55b..9f778a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (zstd-sys-2.0.16+zstd.1.5.7.crate) = 4bd56e78003a084a27d916ce845f90ae4657725c0f34d56290a8b0c463309e10d2980d1ee6350d6a913cb7906950271ef3da7f25f56b47d02e4b4a5d902ac7ac
+SHA512 (zstd-sys-2.0.17+zstd.1.5.7.crate) = 5b2655cf3454fb3fd63de224ac195ccaf4645cdd21dae0134cb8f960ce59c60682fd436af3af88d3556da63128b4189aaca7e2cf5af1feabb9e9c36229935e1b
diff --git a/zstd-sys-fix-metadata-auto.diff b/zstd-sys-fix-metadata-auto.diff
index 082c75b..105e9fc 100644
--- a/zstd-sys-fix-metadata-auto.diff
+++ b/zstd-sys-fix-metadata-auto.diff
@@ -1,11 +1,11 @@
---- zstd-sys-2.0.16+zstd.1.5.7/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ zstd-sys-2.0.16+zstd.1.5.7/Cargo.toml 2025-10-25T22:54:17.417236+00:00
+--- zstd-sys-2.0.17+zstd.1.5.7/Cargo.toml 2006-07-24T01:21:28+00:00
++++ zstd-sys-2.0.17+zstd.1.5.7/Cargo.toml 2026-11-05T12:02:39.558998+00:00
@@ -13,7 +13,7 @@
edition = "2018"
rust-version = "1.64"
name = "zstd-sys"
--version = "2.0.16+zstd.1.5.7"
-+version = "2.0.16"
+-version = "2.0.17+zstd.1.5.7"
++version = "2.0.17"
authors = ["Alexandre Bury <alexandre.bury@gmail.com>"]
build = "build.rs"
links = "zstd"
diff --git a/zstd-sys-fix-metadata.diff b/zstd-sys-fix-metadata.diff
index 96cdfef..498b873 100644
--- a/zstd-sys-fix-metadata.diff
+++ b/zstd-sys-fix-metadata.diff
@@ -1,5 +1,5 @@
---- zstd-sys-2.0.16+zstd.1.5.7/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ zstd-sys-2.0.16+zstd.1.5.7/Cargo.toml 2025-10-25T22:55:23.591583+00:00
+--- zstd-sys-2.0.17+zstd.1.5.7/Cargo.toml 2006-07-24T01:21:28+00:00
++++ zstd-sys-2.0.17+zstd.1.5.7/Cargo.toml 2026-11-05T12:02:39.560926+00:00
@@ -17,20 +17,11 @@
authors = ["Alexandre Bury <alexandre.bury@gmail.com>"]
build = "build.rs"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-05 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 12:13 [rpms/rust-zstd-sys] epel10.3: Update to version 2.0.17 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox