From 55a72c21ab05cdbaddba13b2e81c8419e07769c0 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: May 12 2022 14:10:24 +0000 Subject: Update to version 0.2.3; Fixes RHBZ#2081450 --- diff --git a/.gitignore b/.gitignore index a520b7e..c87766a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /xattr-0.2.1.crate /xattr-0.2.2.crate +/xattr-0.2.3.crate diff --git a/rust-xattr.spec b/rust-xattr.spec index be7d7b9..8493045 100644 --- a/rust-xattr.spec +++ b/rust-xattr.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate xattr Name: rust-%{crate} -Version: 0.2.2 +Version: 0.2.3 Release: %autorelease Summary: UNIX extended filesystem attributes @@ -15,11 +15,8 @@ URL: https://crates.io/crates/xattr Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Unix extended filesystem attributes.} @@ -32,13 +29,14 @@ 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-MIT LICENSE-APACHE -%doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,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}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unsupported-devel Summary: %{summary} @@ -58,11 +56,11 @@ BuildArch: noarch %description -n %{name}+unsupported-devel %{_description} -This package contains library source intended for building other packages -which use "unsupported" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unsupported" feature of the "%{crate}" crate. %files -n %{name}+unsupported-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index f906378..ca39e6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xattr-0.2.2.crate) = a89d34313c35ab02d6ea25675c99f9c9650dee40a76223d62941edda43b3d2db83ed223bada129625b3cf8487c293646ce9980afc6dba8888fa078d5aa035cab +SHA512 (xattr-0.2.3.crate) = 55b99a9a9440463050b672dcacb7e1d1cc78f2b6f40ea7bff2134ee3a1c787d64972a1e00d2e06cf5a341bf76eff32f68e17a0c939a23f2c9a892715722afcac