The package rpms/rust-cairo-sys-rs.git has added or updated architecture specific content
in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-cairo-sys-rs.git/commit/?id=....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2b7fe8420f8c64c66010150aff1c83614c7fb325
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Nov 28 17:34:08 2022 +0100
Update to version 0.16.3; Fixes RHBZ#2136102
diff --git a/.gitignore b/.gitignore
index cc29f80..a14ba95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/cairo-sys-rs-0.14.0.crate
/cairo-sys-rs-0.14.9.crate
/cairo-sys-rs-0.15.1.crate
+/cairo-sys-rs-0.16.3.crate
diff --git a/cairo-sys-rs-fix-metadata.diff b/cairo-sys-rs-fix-metadata-auto.diff
similarity index 51%
rename from cairo-sys-rs-fix-metadata.diff
rename to cairo-sys-rs-fix-metadata-auto.diff
index aacf46a..395f873 100644
--- a/cairo-sys-rs-fix-metadata.diff
+++ b/cairo-sys-rs-fix-metadata-auto.diff
@@ -1,12 +1,14 @@
---- cairo-sys-rs-0.15.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ cairo-sys-rs-0.15.1/Cargo.toml 2022-02-12T18:50:44.186768+00:00
-@@ -63,10 +63,5 @@
- svg = []
+--- cairo-sys-rs-0.16.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ cairo-sys-rs-0.16.3/Cargo.toml 1970-01-01T00:00:01+00:00
+@@ -82,11 +82,7 @@
use_glib = ["glib"]
v1_16 = []
+ v1_18 = ["v1_16"]
-win32-surface = ["winapi"]
++win32-surface = []
xcb = []
xlib = ["x11"]
+
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.2"
-features = ["windef"]
diff --git a/rust-cairo-sys-rs.spec b/rust-cairo-sys-rs.spec
index 7a9511f..9c5e84b 100644
--- a/rust-cairo-sys-rs.spec
+++ b/rust-cairo-sys-rs.spec
@@ -1,26 +1,22 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 23
# * 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.15.1
+Name: rust-cairo-sys-rs
+Version: 0.16.3
Release: %autorelease
Summary: FFI bindings to libcairo
-# Upstream license specification: MIT
License: MIT
URL:
https://crates.io/crates/cairo-sys-rs
Source: %{crates_source}
-# Initial patched metadata
-# * drop windows-specific dependencies and features
-Patch0: cairo-sys-rs-fix-metadata.diff
+# Automatically generated patch to strip foreign dependencies
+Patch: cairo-sys-rs-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
FFI bindings to libcairo.}
@@ -38,8 +34,8 @@ This package contains library source intended for building other
packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -51,7 +47,7 @@ This package contains library source intended for building other
packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dox-devel
Summary: %{summary}
@@ -63,7 +59,7 @@ This package contains library source intended for building other
packages which
use the "dox" feature of the "%{crate}" crate.
%files -n %{name}+dox-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+freetype-devel
Summary: %{summary}
@@ -75,7 +71,7 @@ This package contains library source intended for building other
packages which
use the "freetype" feature of the "%{crate}" crate.
%files -n %{name}+freetype-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+glib-devel
Summary: %{summary}
@@ -87,7 +83,7 @@ This package contains library source intended for building other
packages which
use the "glib" feature of the "%{crate}" crate.
%files -n %{name}+glib-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pdf-devel
Summary: %{summary}
@@ -99,7 +95,7 @@ This package contains library source intended for building other
packages which
use the "pdf" feature of the "%{crate}" crate.
%files -n %{name}+pdf-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+png-devel
Summary: %{summary}
@@ -111,7 +107,7 @@ This package contains library source intended for building other
packages which
use the "png" feature of the "%{crate}" crate.
%files -n %{name}+png-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+ps-devel
Summary: %{summary}
@@ -123,7 +119,7 @@ This package contains library source intended for building other
packages which
use the "ps" feature of the "%{crate}" crate.
%files -n %{name}+ps-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+script-devel
Summary: %{summary}
@@ -135,7 +131,7 @@ This package contains library source intended for building other
packages which
use the "script" feature of the "%{crate}" crate.
%files -n %{name}+script-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+svg-devel
Summary: %{summary}
@@ -147,12 +143,13 @@ This package contains library source intended for building other
packages which
use the "svg" feature of the "%{crate}" crate.
%files -n %{name}+svg-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/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)
+Requires: ((pkgconfig(cairo-gobject) >= 1.17 if crate(cairo-sys-rs/v1_18)) and
pkgconfig(cairo-gobject) >= 1.14)
%description -n %{name}+use_glib-devel %{_description}
@@ -160,7 +157,7 @@ This package contains library source intended for building other
packages which
use the "use_glib" feature of the "%{crate}" crate.
%files -n %{name}+use_glib-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+v1_16-devel
Summary: %{summary}
@@ -173,7 +170,20 @@ This package contains library source intended for building other
packages which
use the "v1_16" feature of the "%{crate}" crate.
%files -n %{name}+v1_16-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v1_18-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(cairo) >= 1.17
+
+%description -n %{name}+v1_18-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_18" feature of the "%{crate}" crate.
+
+%files -n %{name}+v1_18-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+x11-devel
Summary: %{summary}
@@ -185,7 +195,7 @@ This package contains library source intended for building other
packages which
use the "x11" feature of the "%{crate}" crate.
%files -n %{name}+x11-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+xcb-devel
Summary: %{summary}
@@ -197,7 +207,7 @@ This package contains library source intended for building other
packages which
use the "xcb" feature of the "%{crate}" crate.
%files -n %{name}+xcb-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+xlib-devel
Summary: %{summary}
@@ -209,7 +219,7 @@ This package contains library source intended for building other
packages which
use the "xlib" feature of the "%{crate}" crate.
%files -n %{name}+xlib-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/.rust2rpm.conf b/rust2rpm.conf
similarity index 59%
rename from .rust2rpm.conf
rename to rust2rpm.conf
index 40aa141..33ac0d7 100644
--- a/.rust2rpm.conf
+++ b/rust2rpm.conf
@@ -1,9 +1,14 @@
[DEFAULT]
+unwanted-features =
+ win32-surface
buildrequires =
pkgconfig(cairo) >= 1.14
lib.requires =
pkgconfig(cairo) >= 1.14
lib+v1_16.requires =
pkgconfig(cairo) >= 1.16
+lib+v1_18.requires =
+ pkgconfig(cairo) >= 1.17
lib+use_glib.requires =
((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)
diff --git a/sources b/sources
index e935f6f..68a1c9f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cairo-sys-rs-0.15.1.crate) =
85e3eb317d410b96d8879d9f51e74a98918476e9c011dd4e2d482a602341d93e5929422e3ea9b9235360d9af5d991600de512b23fe01f1e1012610bebf513e88
+SHA512 (cairo-sys-rs-0.16.3.crate) =
65214fe8d87dbcadc547b10b8741fea258606437e0dfa552b76bc87570cf3abecb90403fd95774a34c7f89a085984237763cce50eec57b1e5263d47302140b70
commit 0ed994d493bd6f724b073e201f8628e0373144a7
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 03:07:28 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>