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-rs] epel10: Update to 0.5.0
Date: Fri, 25 Sep 2026 10:37:30 GMT [thread overview]
Message-ID: <179033265006.1.2488956667692526537.rpms-rust-cairo-rs-61c6578b6ef9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-cairo-rs
Branch : epel10
Commit : 61c6578b6ef9596bfed277cacfc3cc47f931b89a
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2019-02-18T11:23:43+01:00
Stats : +197/-41 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/rust-cairo-rs/c/61c6578b6ef9596bfed277cacfc3cc47f931b89a?branch=epel10
Log:
Update to 0.5.0
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 55224e0..b10b332 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/cairo-rs-0.3.0.crate
/cairo-rs-0.4.1.crate
+/cairo-rs-0.5.0.crate
diff --git a/cairo-rs-0.4.1-fix-metadata.diff b/cairo-rs-0.4.1-fix-metadata.diff
deleted file mode 100644
index 779cbb9..0000000
--- a/cairo-rs-0.4.1-fix-metadata.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- cairo-rs-0.4.1/Cargo.toml 1970-01-01T01:00:00+01:00
-+++ cairo-rs-0.4.1/Cargo.toml 2018-03-22T13:53:23.046525+01:00
-@@ -47,10 +47,8 @@
-
- [features]
- default = ["use_glib"]
--dox = ["cairo-sys-rs/dox", "glib/dox"]
- embed-lgpl-docs = ["gtk-rs-lgpl-docs"]
- png = ["cairo-sys-rs/png"]
- purge-lgpl-docs = ["gtk-rs-lgpl-docs"]
- use_glib = ["glib", "glib-sys"]
- v1_12 = ["cairo-sys-rs/v1_12"]
--xcb = ["cairo-sys-rs/xcb"]
diff --git a/rust-cairo-rs.spec b/rust-cairo-rs.spec
index 5c246cd..fe568c8 100644
--- a/rust-cairo-rs.spec
+++ b/rust-cairo-rs.spec
@@ -1,48 +1,199 @@
# Generated by rust2rpm
-%bcond_without check
+%bcond_with check
%global debug_package %{nil}
%global crate cairo-rs
Name: rust-%{crate}
-Version: 0.4.1
-Release: 3%{?dist}
+Version: 0.5.0
+Release: 1%{?dist}
Summary: Rust bindings for the Cairo library
License: MIT
URL: https://crates.io/crates/cairo-rs
-Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
-# Initial patched metadata
-# * No X11
-Patch0: cairo-rs-0.4.1-fix-metadata.diff
+Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
-# [dependencies]
-BuildRequires: (crate(c_vec) >= 1.2.0 with crate(c_vec) < 2.0.0)
-BuildRequires: (crate(cairo-sys-rs) >= 0.6.0 with crate(cairo-sys-rs) < 0.7.0)
-BuildRequires: (crate(glib) >= 0.5.0 with crate(glib) < 0.6.0)
-BuildRequires: (crate(glib-sys) >= 0.6.0 with crate(glib-sys) < 0.7.0)
-BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
-# [build-dependencies]
-BuildRequires: (crate(gtk-rs-lgpl-docs) >= 0.1.3 with crate(gtk-rs-lgpl-docs) < 0.2.0)
-
-%description
-%{summary}.
+BuildRequires: (crate(cairo-sys-rs/default) >= 0.7.0 with crate(cairo-sys-rs/default) < 0.8.0)
+BuildRequires: (crate(cairo-sys-rs/dox) >= 0.7.0 with crate(cairo-sys-rs/dox) < 0.8.0)
+BuildRequires: (crate(cairo-sys-rs/png) >= 0.7.0 with crate(cairo-sys-rs/png) < 0.8.0)
+BuildRequires: (crate(cairo-sys-rs/use_glib) >= 0.7.0 with crate(cairo-sys-rs/use_glib) < 0.8.0)
+BuildRequires: (crate(cairo-sys-rs/v1_12) >= 0.7.0 with crate(cairo-sys-rs/v1_12) < 0.8.0)
+BuildRequires: (crate(cairo-sys-rs/xcb) >= 0.7.0 with crate(cairo-sys-rs/xcb) < 0.8.0)
+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(glib/dox) >= 0.6.0 with crate(glib/dox) < 0.7.0)
+BuildRequires: (crate(gobject-sys/default) >= 0.7.0 with crate(gobject-sys/default) < 0.8.0)
+BuildRequires: (crate(gtk-rs-lgpl-docs/default) >= 0.1.3 with crate(gtk-rs-lgpl-docs/default) < 0.2.0)
+BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
+
+%global _description \
+Rust bindings for the Cairo library.
+
+%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
-%description devel
-Rust bindings for the Cairo library.
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license COPYRIGHT LICENSE
+%{cargo_registry}/%{crate}-%{version}/
+%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,LGPL}
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+dox-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+dox-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "dox" feature of "%{crate}" crate.
+
+%files -n %{name}+dox-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+embed-lgpl-docs-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+embed-lgpl-docs-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "embed-lgpl-docs" feature of "%{crate}" crate.
+
+%files -n %{name}+embed-lgpl-docs-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
+
+%description -n %{name}+glib-sys-devel %{_description}
+
+This package contains library source intended for building other packages
+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
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+gobject-sys-devel %{_description}
This package contains library source intended for building other packages
-which use %{crate} from crates.io.
+which use "gobject-sys" feature of "%{crate}" crate.
+
+%files -n %{name}+gobject-sys-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+gtk-rs-lgpl-docs-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+gtk-rs-lgpl-docs-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "gtk-rs-lgpl-docs" feature of "%{crate}" crate.
+
+%files -n %{name}+gtk-rs-lgpl-docs-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+png-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+png-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "png" feature of "%{crate}" crate.
+
+%files -n %{name}+png-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+purge-lgpl-docs-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+purge-lgpl-docs-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "purge-lgpl-docs" feature of "%{crate}" crate.
+
+%files -n %{name}+purge-lgpl-docs-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+use_glib-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%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_12-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v1_12-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "v1_12" feature of "%{crate}" crate.
+
+%files -n %{name}+v1_12-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+xcb-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+xcb-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "xcb" feature of "%{crate}" crate.
+
+%files -n %{name}+xcb-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
@@ -56,12 +207,10 @@ which use %{crate} from crates.io.
%cargo_test
%endif
-%files devel
-%license COPYRIGHT LICENSE
-%{cargo_registry}/%{crate}-%{version}/
-%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,LGPL}
-
%changelog
+* Mon Feb 18 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
+- Update to 0.5.0
+
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources
index 155e1c6..973cd98 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cairo-rs-0.4.1.crate) = b5aee0475eb8ff5a62ff86d2703ec52feef38e694e4779e3a6acfbddbd9588a75f7b08e01f4f1b9140ce01c827f54e8a58931013a3bb0dc3e6eefa676601934b
+SHA512 (cairo-rs-0.5.0.crate) = d98499a9019084265681fadc82905fa4c5a585dca2a7786cf7f6b496304219bdfd541b43bae208995e74c015ec36c0152dda76e02106d2b8783d9cd4a61307ca
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..900788e
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-cairo-rs
reply other threads:[~2026-09-25 10:37 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=179033265006.1.2488956667692526537.rpms-rust-cairo-rs-61c6578b6ef9@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