From 20aecb6fc63964851effa286bbbeae2a49f13f17 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mar 26 2024 23:49:22 +0000 Subject: Update to version 0.6.0; Fixes RHBZ#2240174 --- diff --git a/.gitignore b/.gitignore index 62de60a..f3e828d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /libadwaita-0.4.3.crate /libadwaita-0.4.4.crate /libadwaita-0.5.2.crate +/libadwaita-0.6.0.crate diff --git a/rust-libadwaita.spec b/rust-libadwaita.spec index 8260839..190afbd 100644 --- a/rust-libadwaita.spec +++ b/rust-libadwaita.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate libadwaita Name: rust-libadwaita -Version: 0.5.2 +Version: 0.6.0 Release: %autorelease Summary: Rust bindings for libadwaita @@ -13,7 +13,7 @@ License: MIT URL: https://crates.io/crates/libadwaita Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings for libadwaita.} @@ -58,6 +58,18 @@ use the "gtk_v4_10" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_10-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+gtk_v4_12-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+gtk_v4_12-devel %{_description} + +This package contains library source intended for building other packages which +use the "gtk_v4_12" feature of the "%{crate}" crate. + +%files -n %{name}+gtk_v4_12-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+gtk_v4_2-devel Summary: %{summary} BuildArch: noarch @@ -154,8 +166,20 @@ use the "v1_4" feature of the "%{crate}" crate. %files -n %{name}+v1_4-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+v1_5-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v1_5-devel %{_description} + +This package contains library source intended for building other packages which +use the "v1_5" feature of the "%{crate}" crate. + +%files -n %{name}+v1_5-devel +%ghost %{crate_instdir}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 6b7f6a5..635a071 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libadwaita-0.5.2.crate) = 2cc942e0cbeeaac9d90c2d07d370954ff3afebcc78f0f9e361d2188577bb45346cf378c0522b61836df21f1e2eaf2efaa204fed9416c193df5aed92aa68d7ee2 +SHA512 (libadwaita-0.6.0.crate) = 2f1cf2a54bb2944febdca1f0f96148bb8d776971788a1a86c27135f1e5591c7353f70a55b4d2d6b07c5509e3cae5bff7cdffd22a187cc1fdd3509ae5b658c0f5