public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-glib-sys] epel10: Update to version 0.19.0; Fixes RHBZ#2262624
@ 2026-09-25 10:34 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-glib-sys
Branch : epel10
Commit : 5607d4c8b2b1f1187193b66bba983c18247ef1cb
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-03-26T21:47:32+01:00
Stats : +57/-33 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-glib-sys/c/5607d4c8b2b1f1187193b66bba983c18247ef1cb?branch=epel10
Log:
Update to version 0.19.0; Fixes RHBZ#2262624
---
diff --git a/.gitignore b/.gitignore
index 58ab2f6..0027271 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
/glib-sys-0.17.4.crate
/glib-sys-0.17.10.crate
/glib-sys-0.18.1.crate
+/glib-sys-0.19.0.crate
diff --git a/rust-glib-sys.spec b/rust-glib-sys.spec
index d05227c..300ebd9 100644
--- a/rust-glib-sys.spec
+++ b/rust-glib-sys.spec
@@ -1,11 +1,12 @@
-# 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 glib-sys
Name: rust-glib-sys
-Version: 0.18.1
+Version: 0.19.0
Release: %autorelease
Summary: FFI bindings to libglib-2.0
@@ -13,7 +14,7 @@ License: MIT
URL: https://crates.io/crates/glib-sys
Source: %{crates_source}
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
FFI bindings to libglib-2.0.}
@@ -24,6 +25,7 @@ FFI bindings to libglib-2.0.}
Summary: %{summary}
BuildArch: noarch
Requires: pkgconfig(glib-2.0) >= 2.56
+Requires: pkgconfig(gobject-2.0) >= 2.56
%description devel %{_description}
@@ -50,6 +52,7 @@ use the "default" feature of the "%{crate}" crate.
Summary: %{summary}
BuildArch: noarch
Requires: pkgconfig(glib-2.0) >= 2.58
+Requires: pkgconfig(gobject-2.0) >= 2.58
%description -n %{name}+v2_58-devel %{_description}
@@ -76,6 +79,7 @@ use the "v2_60" feature of the "%{crate}" crate.
Summary: %{summary}
BuildArch: noarch
Requires: pkgconfig(glib-2.0) >= 2.62
+Requires: pkgconfig(gobject-2.0) >= 2.62
%description -n %{name}+v2_62-devel %{_description}
@@ -189,13 +193,27 @@ 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(glib-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
%cargo_generate_buildrequires
echo 'pkgconfig(glib-2.0) >= 2.56'
+echo 'pkgconfig(gobject-2.0) >= 2.56'
%build
%cargo_build
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 978fc4a..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,27 +0,0 @@
-[DEFAULT]
-buildrequires =
- pkgconfig(glib-2.0) >= 2.56
-lib.requires =
- pkgconfig(glib-2.0) >= 2.56
-lib+v2_58.requires =
- pkgconfig(glib-2.0) >= 2.58
-lib+v2_60.requires =
- pkgconfig(glib-2.0) >= 2.60
-lib+v2_62.requires =
- pkgconfig(glib-2.0) >= 2.62
-lib+v2_64.requires =
- pkgconfig(glib-2.0) >= 2.64
-lib+v2_66.requires =
- pkgconfig(glib-2.0) >= 2.66
-lib+v2_68.requires =
- pkgconfig(glib-2.0) >= 2.68
-lib+v2_70.requires =
- pkgconfig(glib-2.0) >= 2.70
-lib+v2_72.requires =
- pkgconfig(glib-2.0) >= 2.72
-lib+v2_74.requires =
- pkgconfig(glib-2.0) >= 2.74
-lib+v2_76.requires =
- pkgconfig(glib-2.0) >= 2.76
-lib+v2_78.requires =
- pkgconfig(glib-2.0) >= 2.77
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..9d26bf6
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,32 @@
+[tests]
+run = ["none"]
+comments = ["tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64"]
+
+[requires]
+build = [
+ "pkgconfig(glib-2.0) >= 2.56",
+ "pkgconfig(gobject-2.0) >= 2.56",
+]
+lib = [
+ "pkgconfig(glib-2.0) >= 2.56",
+ "pkgconfig(gobject-2.0) >= 2.56",
+]
+features.v2_58 = [
+ "pkgconfig(glib-2.0) >= 2.58",
+ "pkgconfig(gobject-2.0) >= 2.58",
+]
+features.v2_60 = ["pkgconfig(glib-2.0) >= 2.60"]
+features.v2_62 = [
+ "pkgconfig(glib-2.0) >= 2.62",
+ "pkgconfig(gobject-2.0) >= 2.62",
+]
+features.v2_64 = ["pkgconfig(glib-2.0) >= 2.64"]
+features.v2_66 = ["pkgconfig(glib-2.0) >= 2.66"]
+features.v2_68 = ["pkgconfig(glib-2.0) >= 2.68"]
+features.v2_70 = ["pkgconfig(glib-2.0) >= 2.70"]
+features.v2_72 = ["pkgconfig(glib-2.0) >= 2.72"]
+features.v2_74 = ["pkgconfig(glib-2.0) >= 2.74"]
+features.v2_76 = ["pkgconfig(glib-2.0) >= 2.76"]
+features.v2_78 = ["pkgconfig(glib-2.0) >= 2.77"]
+features.v2_80 = ["pkgconfig(glib-2.0) >= 2.79"]
+
diff --git a/sources b/sources
index f1ebcd2..3ca163a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glib-sys-0.18.1.crate) = 46583979de6d58cb863e522f9f11f9fd2e16ed5d1ec098f9f9511a7a124029671107beba01d5a19dcb082e57c53a2714ad3f75b0ae47c65985c2ab947d3f2c15
+SHA512 (glib-sys-0.19.0.crate) = a5b394fe7f764a618caf2da304a466f71a329e8e9d7f6eef793387f8e3e365a7acc81b4e17609b891dba87be39dd742b23fbf2122cf3747fb6a1f8a09fe2f363
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:34 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:34 [rpms/rust-glib-sys] epel10: Update to version 0.19.0; Fixes RHBZ#2262624 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox