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

A new commit has been pushed.

Repo   : rpms/rust-gio-sys
Branch : f45
Commit : 5c5693e3cd29c09359b398de73c9a6d6d3e5d538
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-09-03T13:42:49+02:00
Stats  : +40/-8 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-gio-sys/c/5c5693e3cd29c09359b398de73c9a6d6d3e5d538?branch=f45

Log:
Update to version 0.22.9; Fixes RHBZ#2526044

---
diff --git a/.gitignore b/.gitignore
index aea43cd..280ad7a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,3 +32,4 @@
 /gio-sys-0.21.5.crate
 /gio-sys-0.22.0.crate
 /gio-sys-0.22.8.crate
+/gio-sys-0.22.9.crate

diff --git a/gio-sys-fix-metadata-auto.diff b/gio-sys-fix-metadata-auto.diff
index 55b3d5f..36e5e5e 100644
--- a/gio-sys-fix-metadata-auto.diff
+++ b/gio-sys-fix-metadata-auto.diff
@@ -1,8 +1,8 @@
---- gio-sys-0.22.8/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ gio-sys-0.22.8/Cargo.toml	2026-07-01T20:50:59.489426+00:00
-@@ -134,6 +134,3 @@
+--- gio-sys-0.22.9/Cargo.toml	2006-07-24T01:21:28+00:00
++++ gio-sys-0.22.9/Cargo.toml	2026-09-03T11:41:38.575394+00:00
+@@ -138,6 +138,3 @@
  [build-dependencies.system-deps]
- version = "7"
+ version = "9"
  
 -[target."cfg(windows)".dependencies.windows-sys]
 -version = ">=0.52, <=0.61"

diff --git a/gio-sys-fix-metadata.diff b/gio-sys-fix-metadata.diff
new file mode 100644
index 0000000..fd4f388
--- /dev/null
+++ b/gio-sys-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- gio-sys-0.22.9/Cargo.toml	2006-07-24T01:21:28+00:00
++++ gio-sys-0.22.9/Cargo.toml	2026-09-03T11:41:38.576692+00:00
+@@ -136,5 +136,5 @@
+ version = "3"
+ 
+ [build-dependencies.system-deps]
+-version = "9"
++version = ">=7,<10"
+ 

diff --git a/rust-gio-sys.spec b/rust-gio-sys.spec
index 0b6213e..ddc8d96 100644
--- a/rust-gio-sys.spec
+++ b/rust-gio-sys.spec
@@ -7,7 +7,7 @@
 %global crate gio-sys
 
 Name:           rust-gio-sys
-Version:        0.22.8
+Version:        0.22.9
 Release:        %autorelease
 Summary:        FFI bindings to libgio-2.0
 
@@ -16,6 +16,9 @@ URL:            https://crates.io/crates/gio-sys
 Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          gio-sys-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * relax system-deps build-dependency
+Patch:          gio-sys-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  pkgconfig(gio-2.0) >= 2.56
@@ -249,7 +252,7 @@ use the "v2_86" feature of the "%{crate}" crate.
 %package     -n %{name}+v2_88-devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       pkgconfig(gio-2.0) >= 2.87
+Requires:       pkgconfig(gio-2.0) >= 2.88
 
 %description -n %{name}+v2_88-devel %{_description}
 
@@ -259,6 +262,19 @@ use the "v2_88" feature of the "%{crate}" crate.
 %files       -n %{name}+v2_88-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+v2_90-devel
+Summary:        %{summary}
+BuildArch:      noarch
+Requires:       pkgconfig(gio-2.0) >= 2.89
+
+%description -n %{name}+v2_90-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v2_90" feature of the "%{crate}" crate.
+
+%files       -n %{name}+v2_90-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 25436ae..387f064 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,8 @@
+[package]
+cargo-toml-patch-comments = [
+    "relax system-deps build-dependency",
+]
+
 [tests]
 run = false
 comments = [
@@ -26,5 +31,6 @@ features.v2_80 = ["pkgconfig(gio-2.0) >= 2.80"]
 features.v2_82 = ["pkgconfig(gio-2.0) >= 2.82"]
 features.v2_84 = ["pkgconfig(gio-2.0) >= 2.84"]
 features.v2_86 = ["pkgconfig(gio-2.0) >= 2.86"]
-features.v2_88 = ["pkgconfig(gio-2.0) >= 2.87"]
+features.v2_88 = ["pkgconfig(gio-2.0) >= 2.88"]
+features.v2_90 = ["pkgconfig(gio-2.0) >= 2.89"]
 

diff --git a/sources b/sources
index 912e6eb..83aff74 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gio-sys-0.22.8.crate) = 5daca4744f79bab693174c63edbfef57508e15cba50dafa6eddbe9889f996d429dc8523c1c76a8dcfa5c43e72bcfc417516d51e3f44514fd8217ba42579f6a84
+SHA512 (gio-sys-0.22.9.crate) = 24919afaf44ddb39beb59eedf2247ef55d84f03c9cb2cfcbe531c3521eedc493912216bc08ea085b8e329696e15afb9ccc29a2d7bcc4cf2958fb3940b3dd6577

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

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

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

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