From 899d4b96fb2428d98771d8d4c9a48106f759b43b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 9 Dec 2021 14:25:25 +0100 Subject: [PATCH] Update to version 1.6.0; Fixes RHBZ#2028977 --- .gitignore | 1 + rust-relative-path.spec | 27 ++++++++++++--------------- sources | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index e230498..828bbc9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /relative-path-1.3.2.crate /relative-path-1.4.0.crate /relative-path-1.5.0.crate +/relative-path-1.6.0.crate diff --git a/rust-relative-path.spec b/rust-relative-path.spec index 42f66ed..f1a1198 100644 --- a/rust-relative-path.spec +++ b/rust-relative-path.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate relative-path Name: rust-%{crate} -Version: 1.5.0 +Version: 1.6.0 Release: %autorelease Summary: Portable, relative paths for Rust @@ -15,9 +15,6 @@ URL: https://crates.io/crates/relative-path Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,12 +29,12 @@ 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 CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,8 +43,8 @@ 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 @@ -58,8 +55,8 @@ BuildArch: noarch %description -n %{name}+ci-devel %{_description} -This package contains library source intended for building other packages -which use "ci" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "ci" feature of the "%{crate}" crate. %files -n %{name}+ci-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +67,8 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index da7258d..b24efd3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (relative-path-1.5.0.crate) = 9be56330e5968e26ee75a3dbbeef1e894a075ad14ecd53e7fef988bfee6829e0cf1a5873c2893411982544183d0106e3e0ffd818ee3bc610af871bcb23fa093f +SHA512 (relative-path-1.6.0.crate) = 2902ddc6f7982193680c8729396271df213d1b4ae9ad4d4be4e06b51ebe174761cd5b482001abcd976953f6ca29af98167e3e3e6700d5401c3303f6832a57fce