public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-glib] epel10: Update to version 0.19.3; Fixes RHBZ#2262621
@ 2026-09-25 10:37 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-glib
Branch : epel10
Commit : d459362bd3462ba6cc971eaa9d8c83e705da3296
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-03-27T22:36:09+01:00
Stats : +45/-10 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-glib/c/d459362bd3462ba6cc971eaa9d8c83e705da3296?branch=epel10
Log:
Update to version 0.19.3; Fixes RHBZ#2262621
---
diff --git a/.gitignore b/.gitignore
index 8699119..eb8be0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@
/glib-0.18.1.crate
/glib-0.18.2.crate
/glib-0.18.5.crate
+/glib-0.19.3.crate
diff --git a/glib-fix-metadata.diff b/glib-fix-metadata.diff
index 0332fe9..7ba7f3c 100644
--- a/glib-fix-metadata.diff
+++ b/glib-fix-metadata.diff
@@ -1,6 +1,6 @@
---- glib-0.18.5/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ glib-0.18.5/Cargo.toml 2024-01-11T18:57:15.040221+00:00
-@@ -113,9 +113,6 @@
+--- glib-0.19.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ glib-0.19.3/Cargo.toml 2024-03-26T22:12:50.405465+00:00
+@@ -110,9 +110,6 @@
[dependencies.thiserror]
version = "1"
diff --git a/rust-glib.spec b/rust-glib.spec
index 9560d21..2b6d35a 100644
--- a/rust-glib.spec
+++ b/rust-glib.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 25
+# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate glib
Name: rust-glib
-Version: 0.18.5
+Version: 0.19.3
Release: %autorelease
Summary: Rust bindings for the GLib library
@@ -254,9 +254,24 @@ 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
+
+%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} -p1
%cargo_prep
+# drop compiletests that don't compile due to missing dependencies
+rm tests/regex_compiletest.rs
+rm -r tests/regex_compiletest/
%generate_buildrequires
%cargo_generate_buildrequires
@@ -269,8 +284,9 @@ use the "v2_78" feature of the "%{crate}" crate.
%if %{with check}
%check
+# * skip tests that crash when built with Fedora rustc
# * skip a test that only works when run in-tree
-%cargo_test -- -- --exact --skip structured_log
+%cargo_test -- -- --skip variant_iter::tests::test_variant_iter_array --skip variant_iter::tests::test_variant_str_iter_last --skip variant_iter::tests::test_variant_str_iter_nth --skip variant::Variant::array_iter_str --skip structured_log
%endif
%changelog
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 7ee0569..d5c44fc 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,23 @@
+[package]
+cargo-toml-patch-comments = ["drop unused, benchmark-only criterion dev-dependency"]
+
[tests]
-skip = ["structured_log"]
-skip-exact = true
-comments = ["skip a test that only works when run in-tree"]
+skip = [
+ "variant_iter::tests::test_variant_iter_array",
+ "variant_iter::tests::test_variant_str_iter_last",
+ "variant_iter::tests::test_variant_str_iter_nth",
+ "variant::Variant::array_iter_str",
+ "structured_log",
+]
+comments = [
+ "skip tests that crash when built with Fedora rustc",
+ "skip a test that only works when run in-tree",
+]
+
+[scripts]
+prep.post = [
+ "# drop compiletests that don't compile due to missing dependencies",
+ "rm tests/regex_compiletest.rs",
+ "rm -r tests/regex_compiletest/",
+]
diff --git a/sources b/sources
index 1f23ea9..e2a6201 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (glib-0.18.5.crate) = 51fa8dbfbed341876d41e5d8e27386aa1a2a5429ef8dc1089a0de6b5724421bbd6b7947f5d95cef7056874959b6168a26198c57c788ec5165370ea2ccf7258e0
+SHA512 (glib-0.19.3.crate) = a6404f2ffd0ddf8fb6c8d95b9e212e6810ab39f00d7be6bf2201eca541790d36390b1baca870e5ce593cbef3d7fe0eb95f5d48fc2bc0a40fc34b528fd01a6343
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:37 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:37 [rpms/rust-glib] epel10: Update to version 0.19.3; Fixes RHBZ#2262621 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox