public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-cairo-sys-rs] epel10: Update to 0.8.0
Date: Fri, 25 Sep 2026 10:32:23 GMT	[thread overview]
Message-ID: <179033234370.1.12770123274610376212.rpms-rust-cairo-sys-rs-9731697ce21b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-cairo-sys-rs
            Branch : epel10
            Commit : 9731697ce21baf7424adceb8ff80f98726812e0a
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-04-28T14:37:12+02:00
            Stats  : +54/-45 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-cairo-sys-rs/c/9731697ce21baf7424adceb8ff80f98726812e0a?branch=epel10

            Log:
            Update to 0.8.0

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index ec6f8e1..a8b4bf7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /cairo-sys-rs-0.5.0.crate
 /cairo-sys-rs-0.6.0.crate
 /cairo-sys-rs-0.7.0.crate
+/cairo-sys-rs-0.8.0.crate

diff --git a/.rust2rpm.conf b/.rust2rpm.conf
index 41b4b49..9d42350 100644
--- a/.rust2rpm.conf
+++ b/.rust2rpm.conf
@@ -1,11 +1,11 @@
 [DEFAULT]
 buildrequires =
-  pkgconfig(cairo) >= 1.10
+  pkgconfig(cairo) >= 1.12
 lib.requires =
-  pkgconfig(cairo) >= 1.10
-lib+v1_12.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.14 if crate(cairo-sys-rs/v1_14)) and (pkgconfig(cairo-gobject) >= 1.12 if crate(cairo-sys-rs/v1_12))) if (crate(cairo-sys-rs/v1_14) or crate(cairo-sys-rs/v1_12)) else pkgconfig(cairo-gobject) >= 1.10)
+  (((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))) if (crate(cairo-sys-rs/v1_16) or crate(cairo-sys-rs/v1_14)) else pkgconfig(cairo-gobject) >= 1.12)

diff --git a/cairo-sys-rs-fix-metadata.diff b/cairo-sys-rs-fix-metadata.diff
index ddc2ca0..a5cfd9d 100644
--- a/cairo-sys-rs-fix-metadata.diff
+++ b/cairo-sys-rs-fix-metadata.diff
@@ -1,7 +1,7 @@
---- cairo-sys-rs-0.7.0/Cargo.toml	1970-01-01T01:00:00+01:00
-+++ cairo-sys-rs-0.7.0/Cargo.toml	2019-02-18T11:14:04.114174+01:00
-@@ -54,6 +54,3 @@
- v1_14 = ["v1_12"]
+--- cairo-sys-rs-0.8.0/Cargo.toml	1970-01-01T00:00:00+00:00
++++ cairo-sys-rs-0.8.0/Cargo.toml	2019-04-28T12:31:09.190301+00:00
+@@ -49,6 +49,3 @@
+ v1_16 = ["v1_14"]
  xcb = []
  xlib = ["x11"]
 -[target."cfg(windows)".dependencies.winapi]

diff --git a/rust-cairo-sys-rs.spec b/rust-cairo-sys-rs.spec
index b6358f9..58c6428 100644
--- a/rust-cairo-sys-rs.spec
+++ b/rust-cairo-sys-rs.spec
@@ -5,7 +5,7 @@
 %global crate cairo-sys-rs
 
 Name:           rust-%{crate}
-Version:        0.7.0
+Version:        0.8.0
 Release:        1%{?dist}
 Summary:        FFI bindings to libcairo
 
@@ -14,21 +14,14 @@ URL:            https://crates.io/crates/cairo-sys-rs
 Source:         %{crates_source}
 # Initial patched metadata
 # * No windows
-# * No X11
 Patch0:         cairo-sys-rs-fix-metadata.diff
 
 ExclusiveArch:  %{rust_arches}
 
 BuildRequires:  rust-packaging
-BuildRequires:  (crate(glib-sys/default) >= 0.7.0 with crate(glib-sys/default) < 0.8.0)
-BuildRequires:  (crate(glib/default) >= 0.6.0 with crate(glib/default) < 0.7.0)
-BuildRequires:  (crate(gobject-sys/default) >= 0.7.0 with crate(gobject-sys/default) < 0.8.0)
 BuildRequires:  (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
 BuildRequires:  (crate(pkg-config/default) >= 0.3.7 with crate(pkg-config/default) < 0.4.0)
-BuildRequires:  (crate(x11/default) >= 2.16.0 with crate(x11/default) < 3.0.0)
-BuildRequires:  (crate(x11/dox) >= 2.16.0 with crate(x11/dox) < 3.0.0)
-BuildRequires:  (crate(x11/xlib) >= 2.16.0 with crate(x11/xlib) < 3.0.0)
-BuildRequires:  pkgconfig(cairo) >= 1.10
+BuildRequires:  pkgconfig(cairo) >= 1.12
 
 %global _description \
 FFI bindings to libcairo.
@@ -38,7 +31,7 @@ FFI bindings to libcairo.
 %package        devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       pkgconfig(cairo) >= 1.10
+Requires:       pkgconfig(cairo) >= 1.12
 
 %description    devel %{_description}
 
@@ -73,18 +66,6 @@ which use "dox" feature of "%{crate}" crate.
 %files       -n %{name}+dox-devel
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
-%package     -n %{name}+glib-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+glib-devel %{_description}
-
-This package contains library source intended for building other packages
-which use "glib" feature of "%{crate}" crate.
-
-%files       -n %{name}+glib-devel
-%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
-
 %package     -n %{name}+glib-sys-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -97,16 +78,16 @@ which use "glib-sys" feature of "%{crate}" crate.
 %files       -n %{name}+glib-sys-devel
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
-%package     -n %{name}+gobject-sys-devel
+%package     -n %{name}+pdf-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+gobject-sys-devel %{_description}
+%description -n %{name}+pdf-devel %{_description}
 
 This package contains library source intended for building other packages
-which use "gobject-sys" feature of "%{crate}" crate.
+which use "pdf" feature of "%{crate}" crate.
 
-%files       -n %{name}+gobject-sys-devel
+%files       -n %{name}+pdf-devel
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
 %package     -n %{name}+png-devel
@@ -121,30 +102,41 @@ which use "png" feature of "%{crate}" crate.
 %files       -n %{name}+png-devel
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
-%package     -n %{name}+use_glib-devel
+%package     -n %{name}+ps-devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       (((pkgconfig(cairo-gobject) >= 1.14 if crate(cairo-sys-rs/v1_14)) and (pkgconfig(cairo-gobject) >= 1.12 if crate(cairo-sys-rs/v1_12))) if (crate(cairo-sys-rs/v1_14) or crate(cairo-sys-rs/v1_12)) else pkgconfig(cairo-gobject) >= 1.10)
 
-%description -n %{name}+use_glib-devel %{_description}
+%description -n %{name}+ps-devel %{_description}
 
 This package contains library source intended for building other packages
-which use "use_glib" feature of "%{crate}" crate.
+which use "ps" feature of "%{crate}" crate.
 
-%files       -n %{name}+use_glib-devel
+%files       -n %{name}+ps-devel
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
-%package     -n %{name}+v1_12-devel
+%package     -n %{name}+svg-devel
 Summary:        %{summary}
 BuildArch:      noarch
-Requires:       pkgconfig(cairo) >= 1.12
 
-%description -n %{name}+v1_12-devel %{_description}
+%description -n %{name}+svg-devel %{_description}
 
 This package contains library source intended for building other packages
-which use "v1_12" feature of "%{crate}" crate.
+which use "svg" feature of "%{crate}" crate.
 
-%files       -n %{name}+v1_12-devel
+%files       -n %{name}+svg-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%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))) if (crate(cairo-sys-rs/v1_16) or crate(cairo-sys-rs/v1_14)) else pkgconfig(cairo-gobject) >= 1.12)
+
+%description -n %{name}+use_glib-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "use_glib" feature of "%{crate}" crate.
+
+%files       -n %{name}+use_glib-devel
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
 %package     -n %{name}+v1_14-devel
@@ -160,6 +152,19 @@ which use "v1_14" feature of "%{crate}" crate.
 %files       -n %{name}+v1_14-devel
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
+%package     -n %{name}+v1_16-devel
+Summary:        %{summary}
+BuildArch:      noarch
+Requires:       pkgconfig(cairo) >= 1.16
+
+%description -n %{name}+v1_16-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v1_16" feature of "%{crate}" crate.
+
+%files       -n %{name}+v1_16-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
 %package     -n %{name}+x11-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -212,6 +217,9 @@ which use "xlib" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Sun Apr 28 14:31:09 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
+- Update to 0.8.0
+
 * Mon Feb 18 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.0-1
 - Update to 0.7.0
 

diff --git a/sources b/sources
index 70128c1..9cdbfbc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cairo-sys-rs-0.7.0.crate) = 952a95d2bc8ebd11be784d9be204242109a149717f1cc6b53e28e42d52b1e809c972b2cb35f2d3ac215980b64095ada0e084a64724094f7598be38c2f21191c3
+SHA512 (cairo-sys-rs-0.8.0.crate) = 5e861c78a1d5f2e384bdb58b7d6e158bcc8d22d3c79a9dae773a79fe38b379b96b3d3a0b6c770136dbb70f159dc3d5899f289ab78c66b73480ab01c31dca0d3e

                 reply	other threads:[~2026-09-25 10:32 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=179033234370.1.12770123274610376212.rpms-rust-cairo-sys-rs-9731697ce21b@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --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