public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jonathan Steffan <jsteffan@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libpanel] rawhide: Update to 0.7.0 (fedora#2537473).
Date: Mon, 21 Sep 2026 16:34:52 GMT	[thread overview]
Message-ID: <179000849253.1.2707526478591173976.rpms-rust-libpanel-768d8d2e1cdd@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-libpanel
Branch : rawhide
Commit : 768d8d2e1cdda84a58252baa0c5a5748c324b87c
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date   : 2026-09-21T10:29:32-06:00
Stats  : +79/-21 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-libpanel/c/768d8d2e1cdda84a58252baa0c5a5748c324b87c?branch=rawhide

Log:
Update to 0.7.0 (fedora#2537473).

---
diff --git a/libpanel-fix-metadata.diff b/libpanel-fix-metadata.diff
deleted file mode 100644
index 47c4cca..0000000
--- a/libpanel-fix-metadata.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- libpanel-0.5.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ libpanel-0.5.0/Cargo.toml	2024-09-26T17:34:11.324674+00:00
-@@ -48,10 +48,6 @@
- [lib]
- name = "libpanel"
- 
--[[bin]]
--name = "main"
--path = "examples/basic/main.rs"
--
- [dependencies.adw]
- version = "0.7"
- package = "libadwaita"

diff --git a/rust-libpanel.spec b/rust-libpanel.spec
index 342ec92..8f4cc62 100644
--- a/rust-libpanel.spec
+++ b/rust-libpanel.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 # prevent executables from being installed
@@ -8,17 +8,15 @@
 %global crate libpanel
 
 Name:           rust-libpanel
-Version:        0.5.0
+Version:        0.7.0
 Release:        %autorelease
 Summary:        Rust bindings for GNOME libpanel
 
 License:        MIT
 URL:            https://crates.io/crates/libpanel
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-Patch:          libpanel-fix-metadata.diff
 
-BuildRequires:  cargo-rpm-macros >= 24
+BuildRequires:  cargo-rpm-macros >= 26
 
 %global _description %{expand:
 Rust bindings for GNOME libpanel.}
@@ -63,6 +61,66 @@ use the "adw_v1_2" feature of the "%{crate}" crate.
 %files       -n %{name}+adw_v1_2-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+gio_v2_80-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+gio_v2_80-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "gio_v2_80" feature of the "%{crate}" crate.
+
+%files       -n %{name}+gio_v2_80-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+gtk_v4_18-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+gtk_v4_18-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "gtk_v4_18" feature of the "%{crate}" crate.
+
+%files       -n %{name}+gtk_v4_18-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+gtk_v4_2-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+gtk_v4_2-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "gtk_v4_2" feature of the "%{crate}" crate.
+
+%files       -n %{name}+gtk_v4_2-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+gtk_v4_22-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+gtk_v4_22-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "gtk_v4_22" feature of the "%{crate}" crate.
+
+%files       -n %{name}+gtk_v4_22-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+gtk_v4_6-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+gtk_v4_6-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "gtk_v4_6" feature of the "%{crate}" crate.
+
+%files       -n %{name}+gtk_v4_6-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+v1_2-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -87,6 +145,18 @@ use the "v1_4" feature of the "%{crate}" crate.
 %files       -n %{name}+v1_4-devel
 %ghost %{crate_instdir}/Cargo.toml
 
+%package     -n %{name}+v1_6-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+v1_6-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_6" feature of the "%{crate}" crate.
+
+%files       -n %{name}+v1_6-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %package     -n %{name}+v1_8-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -102,10 +172,11 @@ use the "v1_8" feature of the "%{crate}" crate.
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
-# Remove examples until upstream moves them
-# to the correct target
+# Remove examples until upstream moves them to the correct target
 # https://gitlab.gnome.org/World/Rust/libpanel-rs/-/issues/8
 rm -rf examples
+# Drop the [[bin]] and [[example]] targets that reference them
+sed -i '/^\[\[bin\]\]/,/^$/d; /^\[\[example\]\]/,/^$/d' Cargo.toml
 
 %generate_buildrequires
 %cargo_generate_buildrequires

             reply	other threads:[~2026-09-21 16:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 16:34 Jonathan Steffan [this message]
2026-09-21 17:19 [rpms/rust-libpanel] rawhide: Update to 0.7.0 (fedora#2537473) Jonathan Steffan

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=179000849253.1.2707526478591173976.rpms-rust-libpanel-768d8d2e1cdd@fedoraproject.org \
    --to=jsteffan@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