public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-gio-sys] epel10: Update to version 0.16.3; Fixes RHBZ#2136061
Date: Fri, 25 Sep 2026 10:35:59 GMT	[thread overview]
Message-ID: <179033255959.1.6971108203637897847.rpms-rust-gio-sys-485fe363d966@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-gio-sys
Branch : epel10
Commit : 485fe363d9663bb00fa3a6f58f734fc890dce7a7
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2022-11-28T21:30:11+01:00
Stats  : +57/-102 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-gio-sys/c/485fe363d9663bb00fa3a6f58f734fc890dce7a7?branch=epel10

Log:
Update to version 0.16.3; Fixes RHBZ#2136061

---
diff --git a/.gitignore b/.gitignore
index 95859cf..500af47 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /gio-sys-0.15.6.crate
 /gio-sys-0.15.7.crate
 /gio-sys-0.15.10.crate
+/gio-sys-0.16.3.crate

diff --git a/.rust2rpm.conf b/.rust2rpm.conf
deleted file mode 100644
index e6b67af..0000000
--- a/.rust2rpm.conf
+++ /dev/null
@@ -1,29 +0,0 @@
-[DEFAULT]
-buildrequires =
-  pkgconfig(gio-2.0) >= 2.48
-lib.requires =
-  pkgconfig(gio-2.0) >= 2.48
-lib+v2_50.requires =
-  pkgconfig(gio-2.0) >= 2.50
-lib+v2_52.requires =
-  pkgconfig(gio-2.0) >= 2.52
-lib+v2_54.requires =
-  pkgconfig(gio-2.0) >= 2.54
-lib+v2_56.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

diff --git a/gio-sys-fix-metadata-auto.diff b/gio-sys-fix-metadata-auto.diff
new file mode 100644
index 0000000..37b25f4
--- /dev/null
+++ b/gio-sys-fix-metadata-auto.diff
@@ -0,0 +1,12 @@
+--- gio-sys-0.16.3/Cargo.toml	1970-01-01T00:00:01+00:00
++++ gio-sys-0.16.3/Cargo.toml	1970-01-01T00:00:01+00:00
+@@ -100,9 +100,3 @@
+ v2_72 = ["v2_70"]
+ v2_74 = ["v2_72"]
+ 
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.9"
+-features = [
+-    "ws2def",
+-    "winsock2",
+-]

diff --git a/gio-sys-fix-metadata.diff b/gio-sys-fix-metadata.diff
deleted file mode 100644
index a9c1517..0000000
--- a/gio-sys-fix-metadata.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- gio-sys-0.15.10/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ gio-sys-0.15.10/Cargo.toml	2022-03-29T13:14:36.733732+00:00
-@@ -97,6 +97,3 @@
- v2_68 = ["v2_66"]
- v2_70 = ["v2_68"]
- v2_72 = ["v2_70"]
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3.9"
--features = ["ws2def", "winsock2"]

diff --git a/rust-gio-sys.spec b/rust-gio-sys.spec
index 037724b..2d45f58 100644
--- a/rust-gio-sys.spec
+++ b/rust-gio-sys.spec
@@ -1,24 +1,20 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 23
 # * 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-%{crate}
-Version:        0.15.10
+Name:           rust-gio-sys
+Version:        0.16.3
 Release:        %autorelease
 Summary:        FFI bindings to libgio-2.0
 
-# Upstream license specification: MIT
 License:        MIT
 URL:            https://crates.io/crates/gio-sys
 Source:         %{crates_source}
-# Initial patched metadata
-# * drop windows-specific dependencies
-Patch0:         gio-sys-fix-metadata.diff
-
-ExclusiveArch:  %{rust_arches}
+# Automatically generated patch to strip foreign dependencies
+Patch:          gio-sys-fix-metadata-auto.diff
 
 BuildRequires:  rust-packaging >= 21
 
@@ -30,7 +26,7 @@ FFI bindings to libgio-2.0.}
 %package        devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       pkgconfig(gio-2.0) >= 2.48
+Requires:       pkgconfig(gio-2.0) >= 2.56
 
 %description    devel %{_description}
 
@@ -65,58 +61,6 @@ use the "dox" feature of the "%{crate}" crate.
 %files       -n %{name}+dox-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+v2_50-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(gio-2.0) >= 2.50
-
-%description -n %{name}+v2_50-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_50" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_50-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_52-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(gio-2.0) >= 2.52
-
-%description -n %{name}+v2_52-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_52" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_52-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_54-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(gio-2.0) >= 2.54
-
-%description -n %{name}+v2_54-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_54" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_54-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_56-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(gio-2.0) >= 2.56
-
-%description -n %{name}+v2_56-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_56" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_56-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %package     -n %{name}+v2_58-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -221,13 +165,26 @@ use the "v2_72" feature of the "%{crate}" crate.
 %files       -n %{name}+v2_72-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+v2_74-devel
+Summary:        %{summary}
+BuildArch:      noarch
+Requires:       pkgconfig(gio-2.0) >= 2.74
+
+%description -n %{name}+v2_74-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v2_74" feature of the "%{crate}" crate.
+
+%files       -n %{name}+v2_74-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %prep
 %autosetup -n %{crate}-%{version_no_tilde} -p1
 %cargo_prep
 
 %generate_buildrequires
 %cargo_generate_buildrequires
-echo 'pkgconfig(gio-2.0) >= 2.48'
+echo 'pkgconfig(gio-2.0) >= 2.56'
 
 %build
 %cargo_build

diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..bac0006
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,23 @@
+[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

diff --git a/sources b/sources
index cd13bb2..1ffd69b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gio-sys-0.15.10.crate) = 9a5f37afc4ee4fea2a9fb87005c2c51b1f22ba98c9ad88bcedf89b90bd1e3d6393ecea8b726b596dc298c5a4e7db1eb0503f0872db54c19c29069f5a2b1b30ff
+SHA512 (gio-sys-0.16.3.crate) = 88f548100d1760a90bea42097ffe050e663e7dcaa4724b92c4a4f19d49e89240a16ba01e48daf8bae348f40f40c33aa128abf7a3b95eb1753c665536dd7f89d6

                 reply	other threads:[~2026-09-25 10:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179033255959.1.6971108203637897847.rpms-rust-gio-sys-485fe363d966@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox