public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libpanel] rawhide: Update to 0.7.0 (fedora#2537473).
@ 2026-09-21 17:19 Jonathan Steffan
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Steffan @ 2026-09-21 17:19 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-libpanel
Branch : rawhide
Commit : 7a575ec98961b0e291f10d00159bf2ff22fb4f27
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date   : 2026-09-21T11:19:18-06:00
Stats  : +15/-1 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-libpanel/c/7a575ec98961b0e291f10d00159bf2ff22fb4f27?branch=rawhide

Log:
Update to 0.7.0 (fedora#2537473).

---
diff --git a/.gitignore b/.gitignore
index 50525ce..f067286 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /libpanel-0.4.0.crate
 /libpanel-0.5.0.crate
+/libpanel-0.7.0.crate

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..08c9be9
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,13 @@
+[package]
+# Prevent executables from being installed
+cargo-install-bin = false
+license-files = ["COPYING"]
+
+[scripts.prep]
+post = [
+  "# 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",
+]

diff --git a/sources b/sources
index f09b872..59b80bd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libpanel-0.5.0.crate) = fe80b0c994d1e0e5ec06b379ff5589b815de9af566ef5b47968d7f7f63b717b6b173921209cc2e3608df1fd698eb0b78b221d24b7d3ed808b6b97dd5533a731e
+SHA512 (libpanel-0.7.0.crate) = 11706b8884f55134a632ce0102dc7be197e3c88d0d3978daeacd2374565f1176d64910f111dbee70c16abbb3a8134a3a2e897052451effd9c998d7dda92b3da8

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [rpms/rust-libpanel] rawhide: Update to 0.7.0 (fedora#2537473).
@ 2026-09-21 16:34 Jonathan Steffan
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Steffan @ 2026-09-21 16:34 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-21 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 17:19 [rpms/rust-libpanel] rawhide: Update to 0.7.0 (fedora#2537473) Jonathan Steffan
  -- strict thread matches above, loose matches on Subject: below --
2026-09-21 16:34 Jonathan Steffan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox