public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-pango-sys] rawhide: Update to version 0.22.9; Fixes RHBZ#2526056
@ 2026-09-03 10:29 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-03 10:29 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-pango-sys
Branch : rawhide
Commit : f51331adc1e00aed91da635071a554dc3ae8fd0b
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-09-03T12:28:49+02:00
Stats  : +33/-2 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-pango-sys/c/f51331adc1e00aed91da635071a554dc3ae8fd0b?branch=rawhide

Log:
Update to version 0.22.9; Fixes RHBZ#2526056

---
diff --git a/.gitignore b/.gitignore
index 09e5b09..9ac48f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@
 /pango-sys-0.21.2.crate
 /pango-sys-0.21.5.crate
 /pango-sys-0.22.0.crate
+/pango-sys-0.22.9.crate

diff --git a/pango-sys-fix-metadata.diff b/pango-sys-fix-metadata.diff
new file mode 100644
index 0000000..20fd60e
--- /dev/null
+++ b/pango-sys-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- pango-sys-0.22.9/Cargo.toml	2006-07-24T01:21:28+00:00
++++ pango-sys-0.22.9/Cargo.toml	2026-09-03T10:25:30.848859+00:00
+@@ -108,4 +108,4 @@
+ version = "3"
+ 
+ [build-dependencies.system-deps]
+-version = "9"
++version = ">=7,<10"

diff --git a/rust-pango-sys.spec b/rust-pango-sys.spec
index b64ae12..f557d56 100644
--- a/rust-pango-sys.spec
+++ b/rust-pango-sys.spec
@@ -5,13 +5,16 @@
 %global crate pango-sys
 
 Name:           rust-pango-sys
-Version:        0.22.0
+Version:        0.22.9
 Release:        %autorelease
 Summary:        FFI bindings to libpango-1.0
 
 License:        MIT
 URL:            https://crates.io/crates/pango-sys
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * relax system-deps build-dependency
+Patch:          pango-sys-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  pkgconfig(pango) >= 1.40
@@ -164,6 +167,19 @@ use the "v1_57" feature of the "%{crate}" crate.
 %files       -n %{name}+v1_57-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+v1_58-devel
+Summary:        %{summary}
+BuildArch:      noarch
+Requires:       pkgconfig(pango) >= 1.58
+
+%description -n %{name}+v1_58-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_58" feature of the "%{crate}" crate.
+
+%files       -n %{name}+v1_58-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 64b2d57..48cd32c 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,8 @@
+[package]
+cargo-toml-patch-comments = [
+    "relax system-deps build-dependency",
+]
+
 [features]
 hide = [
 ]
@@ -14,4 +19,5 @@ features.v1_52 = ["pkgconfig(pango) >= 1.52"]
 features.v1_54 = ["pkgconfig(pango) >= 1.54"]
 features.v1_56 = ["pkgconfig(pango) >= 1.56"]
 features.v1_57 = ["pkgconfig(pango) >= 1.57"]
+features.v1_58 = ["pkgconfig(pango) >= 1.58"]
 

diff --git a/sources b/sources
index 97f3720..5358871 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pango-sys-0.22.0.crate) = 79268ad8a1866be1587fea100aaa6a4f53f8b8a544f8a927526d01376d7b77298fb2b98b3e5c730b83c0f34142f6b5a1089cd6409207de4cb19144ec5abf06be
+SHA512 (pango-sys-0.22.9.crate) = 7fc8ff7e1cdacf116d957891bb11575960a5cecc5a0524c3e0ba0908f53fc7448b981df00efd351883919da19c626fb1726d719dcacdf589c3fd305e8a28f45c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-03 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 10:29 [rpms/rust-pango-sys] rawhide: Update to version 0.22.9; Fixes RHBZ#2526056 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox