public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cairo-sys-rs] epel10: Update to version 0.14.0; Fixes RHBZ#1974977
@ 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 : 838ba255ccde6ef76a36569e48352134d17343b2
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2021-08-03T16:54:09+02:00
Stats : +17/-30 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-cairo-sys-rs/c/838ba255ccde6ef76a36569e48352134d17343b2?branch=epel10
Log:
Update to version 0.14.0; Fixes RHBZ#1974977
---
diff --git a/.gitignore b/.gitignore
index 8164761..c475896 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/cairo-sys-rs-0.9.0.crate
/cairo-sys-rs-0.9.2.crate
/cairo-sys-rs-0.10.0.crate
+/cairo-sys-rs-0.14.0.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
index 0c7e7fc..40aa141 100644
--- a/.rust2rpm.conf
+++ b/.rust2rpm.conf
@@ -1,11 +1,9 @@
[DEFAULT]
buildrequires =
- pkgconfig(cairo) >= 1.12
+ pkgconfig(cairo) >= 1.14
lib.requires =
- pkgconfig(cairo) >= 1.12
-lib+v1_14.requires =
pkgconfig(cairo) >= 1.14
lib+v1_16.requires =
pkgconfig(cairo) >= 1.16
lib+use_glib.requires =
- ((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and (pkgconfig(cairo-gobject) >= 1.14 if crate(cairo-sys-rs/v1_14)) and pkgconfig(cairo-gobject) >= 1.12)
+ ((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and pkgconfig(cairo-gobject) >= 1.14)
diff --git a/cairo-sys-rs-fix-metadata.diff b/cairo-sys-rs-fix-metadata.diff
index e712c4f..c134e50 100644
--- a/cairo-sys-rs-fix-metadata.diff
+++ b/cairo-sys-rs-fix-metadata.diff
@@ -1,9 +1,9 @@
---- cairo-sys-rs-0.9.2/Cargo.toml 2019-12-15T13:58:12+00:00
-+++ cairo-sys-rs-0.9.2/Cargo.toml 2020-01-15T05:28:16.115254+00:00
-@@ -47,10 +47,5 @@
+--- cairo-sys-rs-0.14.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ cairo-sys-rs-0.14.0/Cargo.toml 2021-08-02T11:46:07.192409+00:00
+@@ -63,10 +63,5 @@
+ svg = []
use_glib = ["glib-sys"]
- v1_14 = []
- v1_16 = ["v1_14"]
+ v1_16 = []
-win32-surface = ["winapi"]
xcb = []
xlib = ["x11"]
diff --git a/rust-cairo-sys-rs.spec b/rust-cairo-sys-rs.spec
index 0171dde..59d448b 100644
--- a/rust-cairo-sys-rs.spec
+++ b/rust-cairo-sys-rs.spec
@@ -1,20 +1,22 @@
-# Generated by rust2rpm 13
+# Generated by rust2rpm 18
+# * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64
%bcond_with check
%global debug_package %{nil}
%global crate cairo-sys-rs
Name: rust-%{crate}
-Version: 0.10.0
+Version: 0.14.0
Release: %autorelease
Summary: FFI bindings to libcairo
# Upstream license specification: MIT
+# https://github.com/gtk-rs/gtk-rs-core/issues/172
License: MIT
URL: https://crates.io/crates/cairo-sys-rs
Source: %{crates_source}
# Initial patched metadata
-# * No windows
+# * drop windows-specific dependencies
Patch0: cairo-sys-rs-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@@ -32,7 +34,7 @@ FFI bindings to libcairo.}
%package devel
Summary: %{summary}
BuildArch: noarch
-Requires: pkgconfig(cairo) >= 1.12
+Requires: pkgconfig(cairo) >= 1.14
%description devel %{_description}
@@ -40,7 +42,6 @@ This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
-%license LICENSE
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
@@ -154,7 +155,7 @@ which use "svg" feature of "%{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 if crate(cairo-sys-rs/v1_14)) and pkgconfig(cairo-gobject) >= 1.12)
+Requires: ((pkgconfig(cairo-gobject) >= 1.16 if crate(cairo-sys-rs/v1_16)) and pkgconfig(cairo-gobject) >= 1.14)
%description -n %{name}+use_glib-devel %{_description}
@@ -164,19 +165,6 @@ which use "use_glib" feature of "%{crate}" crate.
%files -n %{name}+use_glib-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-%package -n %{name}+v1_14-devel
-Summary: %{summary}
-BuildArch: noarch
-Requires: pkgconfig(cairo) >= 1.14
-
-%description -n %{name}+v1_14-devel %{_description}
-
-This package contains library source intended for building other packages
-which use "v1_14" feature of "%{crate}" crate.
-
-%files -n %{name}+v1_14-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
-
%package -n %{name}+v1_16-devel
Summary: %{summary}
BuildArch: noarch
@@ -232,7 +220,7 @@ which use "xlib" feature of "%{crate}" crate.
%generate_buildrequires
%cargo_generate_buildrequires
-echo 'pkgconfig(cairo) >= 1.12'
+echo 'pkgconfig(cairo) >= 1.14'
%build
%cargo_build
diff --git a/sources b/sources
index 9993013..c6e9d98 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cairo-sys-rs-0.10.0.crate) = 471b5eed5def702b31cc04513064f9ab929e1bcbb6893dbbf3156785ece110b07fb1914a4b21f9511c9e4bf7ed712ec14765d4499c482153bb9622c02f7b325f
+SHA512 (cairo-sys-rs-0.14.0.crate) = efd1773166ca8cf7d8f533f684587a8f6051977566dc526317c80877d5ba03d8fd0647689825354aacae168270b358ecdad4437ac3db9c520bdc8946ffc535da
^ 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.14.0; Fixes RHBZ#1974977 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox