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

A new commit has been pushed.

Repo   : rpms/rust-gio-sys
Branch : epel10
Commit : 2895703724f952fed977c6aecdf1a3ac5f3db006
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2024-03-26T22:00:12+01:00
Stats  : +49/-44 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-gio-sys/c/2895703724f952fed977c6aecdf1a3ac5f3db006?branch=epel10

Log:
Update to version 0.19.0; Fixes RHBZ#2262620

---
diff --git a/.gitignore b/.gitignore
index 956a941..eac120b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
 /gio-sys-0.17.4.crate
 /gio-sys-0.17.10.crate
 /gio-sys-0.18.1.crate
+/gio-sys-0.19.0.crate

diff --git a/gio-sys-fix-metadata-auto.diff b/gio-sys-fix-metadata-auto.diff
index 10b76b1..13201e0 100644
--- a/gio-sys-fix-metadata-auto.diff
+++ b/gio-sys-fix-metadata-auto.diff
@@ -1,12 +1,9 @@
---- gio-sys-0.18.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ gio-sys-0.18.1/Cargo.toml	2023-08-07T21:39:59.667124+00:00
-@@ -113,9 +113,3 @@
- v2_76 = ["v2_74"]
+--- gio-sys-0.19.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ gio-sys-0.19.0/Cargo.toml	2024-03-26T20:53:15.583024+00:00
+@@ -115,6 +115,3 @@
  v2_78 = ["v2_76"]
+ v2_80 = ["v2_78"]
  
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3.9"
--features = [
--    "ws2def",
--    "winsock2",
--]
+-[target."cfg(windows)".dependencies.windows-sys]
+-version = "0.52"
+-features = ["Win32_Networking_WinSock"]

diff --git a/rust-gio-sys.spec b/rust-gio-sys.spec
index caedaf3..5bded21 100644
--- a/rust-gio-sys.spec
+++ b/rust-gio-sys.spec
@@ -1,21 +1,22 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 26
+# * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64
+%bcond_with check
 %global debug_package %{nil}
 
 %global crate gio-sys
 
 Name:           rust-gio-sys
-Version:        0.18.1
+Version:        0.19.0
 Release:        %autorelease
 Summary:        FFI bindings to libgio-2.0
 
 License:        MIT
 URL:            https://crates.io/crates/gio-sys
 Source:         %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
 Patch:          gio-sys-fix-metadata-auto.diff
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 FFI bindings to libgio-2.0.}
@@ -191,8 +192,21 @@ use the "v2_78" feature of the "%{crate}" crate.
 %files       -n %{name}+v2_78-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+v2_80-devel
+Summary:        %{summary}
+BuildArch:      noarch
+Requires:       pkgconfig(gio-2.0) >= 2.79
+
+%description -n %{name}+v2_80-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v2_80" feature of the "%{crate}" crate.
+
+%files       -n %{name}+v2_80-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires

diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 6ed2544..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,27 +0,0 @@
-[DEFAULT]
-buildrequires =
-  pkgconfig(gio-2.0) >= 2.56
-lib.requires =
-  pkgconfig(gio-2.0) >= 2.56
-lib+v2_58.requires =
-  pkgconfig(gio-2.0) >= 2.58
-lib+v2_60.requires =
-  pkgconfig(gio-2.0) >= 2.60
-lib+v2_62.requires =
-  pkgconfig(gio-2.0) >= 2.62
-lib+v2_64.requires =
-  pkgconfig(gio-2.0) >= 2.64
-lib+v2_66.requires =
-  pkgconfig(gio-2.0) >= 2.66
-lib+v2_68.requires =
-  pkgconfig(gio-2.0) >= 2.68
-lib+v2_70.requires =
-  pkgconfig(gio-2.0) >= 2.70
-lib+v2_72.requires =
-  pkgconfig(gio-2.0) >= 2.72
-lib+v2_74.requires =
-  pkgconfig(gio-2.0) >= 2.74
-lib+v2_76.requires =
-  pkgconfig(gio-2.0) >= 2.76
-lib+v2_78.requires =
-  pkgconfig(gio-2.0) >= 2.77

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..f16d668
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,20 @@
+[tests]
+run = ["none"]
+comments = ["tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64"]
+
+[requires]
+build = ["pkgconfig(gio-2.0) >= 2.56"]
+lib = ["pkgconfig(gio-2.0) >= 2.56"]
+features.v2_58 = ["pkgconfig(gio-2.0) >= 2.58"]
+features.v2_60 = ["pkgconfig(gio-2.0) >= 2.60"]
+features.v2_62 = ["pkgconfig(gio-2.0) >= 2.62"]
+features.v2_64 = ["pkgconfig(gio-2.0) >= 2.64"]
+features.v2_66 = ["pkgconfig(gio-2.0) >= 2.66"]
+features.v2_68 = ["pkgconfig(gio-2.0) >= 2.68"]
+features.v2_70 = ["pkgconfig(gio-2.0) >= 2.70"]
+features.v2_72 = ["pkgconfig(gio-2.0) >= 2.72"]
+features.v2_74 = ["pkgconfig(gio-2.0) >= 2.74"]
+features.v2_76 = ["pkgconfig(gio-2.0) >= 2.76"]
+features.v2_78 = ["pkgconfig(gio-2.0) >= 2.77"]
+features.v2_80 = ["pkgconfig(gio-2.0) >= 2.79"]
+

diff --git a/sources b/sources
index 8745e5a..97a9a43 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gio-sys-0.18.1.crate) = f02e9766754d48407e955fc81bb27820a357a1f6cf7b1e89464c0399cd39d4adfb8586d7d7a2a12e98792fcf6e4fe2807816185824967906d45ff936ba3d911c
+SHA512 (gio-sys-0.19.0.crate) = 0b6990f80b58af4069e9f9eee4afd926101ecdd1fe41f4a02088f0576c1daa4406bd4fa9a9d9144d91a0e4a04ff8a1e961a30b864d8b4100735ce0e1cf2413f5

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:36 [rpms/rust-gio-sys] epel10: Update to version 0.19.0; Fixes RHBZ#2262620 Fabio Valentini

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