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

A new commit has been pushed.

Repo   : rpms/rust-cairo-sys-rs
Branch : epel10
Commit : 9f2807606c93c689c233c350272d812733ed95ef
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-03-01T14:09:01+01:00
Stats  : +10/-18 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cairo-sys-rs/c/9f2807606c93c689c233c350272d812733ed95ef?branch=epel10

Log:
Update to version 0.22.0; Fixes RHBZ#2441285

---
diff --git a/.gitignore b/.gitignore
index 3e847da..ed8515d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
 /cairo-sys-rs-0.21.1.crate
 /cairo-sys-rs-0.21.2.crate
 /cairo-sys-rs-0.21.5.crate
+/cairo-sys-rs-0.22.0.crate

diff --git a/cairo-sys-rs-fix-metadata-auto.diff b/cairo-sys-rs-fix-metadata-auto.diff
index 914f30a..6f7e635 100644
--- a/cairo-sys-rs-fix-metadata-auto.diff
+++ b/cairo-sys-rs-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- cairo-sys-rs-0.21.5/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ cairo-sys-rs-0.21.5/Cargo.toml	2025-12-13T15:21:03.326034+00:00
+--- cairo-sys-rs-0.22.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ cairo-sys-rs-0.22.0/Cargo.toml	2026-03-01T13:06:10.113923+00:00
 @@ -70,7 +70,7 @@
  use_glib = ["glib-sys"]
  v1_16 = []

diff --git a/rust-cairo-sys-rs.spec b/rust-cairo-sys-rs.spec
index 00e9963..5d9819b 100644
--- a/rust-cairo-sys-rs.spec
+++ b/rust-cairo-sys-rs.spec
@@ -1,12 +1,11 @@
 # Generated by rust2rpm 28
-# * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64
-%bcond check 0
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate cairo-sys-rs
 
 Name:           rust-cairo-sys-rs
-Version:        0.21.5
+Version:        0.22.0
 Release:        %autorelease
 Summary:        FFI bindings to libcairo
 
@@ -137,8 +136,7 @@ use the "svg" feature of the "%{crate}" crate.
 %package     -n %{name}+use_glib-devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       ((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and pkgconfig(cairo-gobject) >= 1.14)
-Requires:       ((pkgconfig(cairo-gobject) >= 1.17 if crate(cairo-sys-rs/v1_18)) and pkgconfig(cairo-gobject) >= 1.14)
+Requires:       pkgconfig(cairo-gobject)
 
 %description -n %{name}+use_glib-devel %{_description}
 
@@ -164,7 +162,7 @@ use the "v1_16" feature of the "%{crate}" crate.
 %package     -n %{name}+v1_18-devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       pkgconfig(cairo) >= 1.17
+Requires:       pkgconfig(cairo) >= 1.18
 
 %description -n %{name}+v1_18-devel %{_description}
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 891a716..6381eb1 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,7 +1,3 @@
-[tests]
-run = false
-comments = ["tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64"]
-
 [features]
 hide = ["quartz-surface", "win32-surface"]
 
@@ -9,9 +5,6 @@ hide = ["quartz-surface", "win32-surface"]
 build = ["pkgconfig(cairo) >= 1.14"]
 lib = ["pkgconfig(cairo) >= 1.14"]
 features.v1_16 = ["pkgconfig(cairo) >= 1.16"]
-features.v1_18 = ["pkgconfig(cairo) >= 1.17"]
-features.use_glib = [
-    "((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and pkgconfig(cairo-gobject) >= 1.14)",
-    "((pkgconfig(cairo-gobject) >= 1.17 if crate(cairo-sys-rs/v1_18)) and pkgconfig(cairo-gobject) >= 1.14)",
-]
+features.v1_18 = ["pkgconfig(cairo) >= 1.18"]
+features.use_glib = ["pkgconfig(cairo-gobject)"]
 

diff --git a/sources b/sources
index 43255cf..4d9add9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cairo-sys-rs-0.21.5.crate) = 175e2438d3ee38efa36a7ca939d47629f291cf590eaf2e2ab3e993f68df65193870af164393b5f36a4575a898272e58d0b0e18634f46534a9bd722a25a10ac8f
+SHA512 (cairo-sys-rs-0.22.0.crate) = 8b32c1fd12cd7e1f0d1fbf39f3888f408ebb17a99840850cdbfcc15f542646d4100d4bde5e5b8ce6b602d924ddb5a365cdb9204a6dd48787c0a6f7256102cdf1

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

only message in thread, other threads:[~2026-09-25 10:32 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:32 [rpms/rust-cairo-sys-rs] epel10: Update to version 0.22.0; Fixes RHBZ#2441285 Fabio Valentini

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