From af4f75dfa0d84d75d65e8b3f94d9f5b22a8b71f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 25 Feb 2022 15:07:10 +0100 Subject: [PATCH] Version 0.29.4 (rhbz#1985665) --- .gitignore | 1 + rust-wayland-cursor.spec | 25 +++++++++++-------------- sources | 2 +- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index e4f5241..7a6837b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /wayland-cursor-0.28.4.crate /wayland-cursor-0.28.5.crate /wayland-cursor-0.28.6.crate +/wayland-cursor-0.29.4.crate diff --git a/rust-wayland-cursor.spec b/rust-wayland-cursor.spec index 1752174..fe287f0 100644 --- a/rust-wayland-cursor.spec +++ b/rust-wayland-cursor.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate wayland-cursor Name: rust-%{crate} -Version: 0.28.6 +Version: 0.29.4 Release: %autorelease Summary: Bindings to libwayland-cursor @@ -15,11 +15,8 @@ URL: https://crates.io/crates/wayland-cursor Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Bindings to libwayland-cursor.} @@ -32,13 +29,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE.txt -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.txt +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +43,11 @@ 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. +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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 4db15a7..de48940 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wayland-cursor-0.28.6.crate) = 3fda8ae53f69fe2911a12a0f2f91920915d72a43e8103db848e8a29bf951b262a00909c72a5f94af8b6576c9c9df93b804fef088da14bf41e797b7a74afb293f +SHA512 (wayland-cursor-0.29.4.crate) = 2fff73d6df61492a4f5b056b1c4c1f2899b109015e615c2dbd9c7cd1943502d39f10465b36613d890346c8831d3e791cd451535951a63a66336d218ca0bfcd0d