From acbc023341cb2aab9921f7d2cce62f2ed8a23bb1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 21 Jul 2022 11:16:39 +0200 Subject: [PATCH] Update to version 0.5.0; Fixes RHBZ#2071037 --- .gitignore | 1 + rust-bugreport.spec | 63 ++++++++++++++++++++++----------------------- sources | 2 +- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.gitignore b/.gitignore index a55bdde..e98ed79 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /bugreport-0.4.0.crate /bugreport-0.4.1.crate +/bugreport-0.5.0.crate diff --git a/rust-bugreport.spec b/rust-bugreport.spec index a2495eb..93cc2da 100644 --- a/rust-bugreport.spec +++ b/rust-bugreport.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate bugreport Name: rust-%{crate} -Version: 0.4.1 +Version: 0.5.0 Release: %autorelease Summary: Collect system and environment information for bug reports @@ -15,11 +15,8 @@ URL: https://crates.io/crates/bugreport Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Collect system and environment information for bug reports.} @@ -32,13 +29,15 @@ 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_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/example-report.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +45,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 %package -n %{name}+collector_operating_system-devel Summary: %{summary} @@ -58,11 +57,11 @@ BuildArch: noarch %description -n %{name}+collector_operating_system-devel %{_description} -This package contains library source intended for building other packages -which use "collector_operating_system" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "collector_operating_system" feature of the "%{crate}" crate. %files -n %{name}+collector_operating_system-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+format_markdown-devel Summary: %{summary} @@ -70,11 +69,11 @@ BuildArch: noarch %description -n %{name}+format_markdown-devel %{_description} -This package contains library source intended for building other packages -which use "format_markdown" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "format_markdown" feature of the "%{crate}" crate. %files -n %{name}+format_markdown-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+format_plaintext-devel Summary: %{summary} @@ -82,11 +81,11 @@ BuildArch: noarch %description -n %{name}+format_plaintext-devel %{_description} -This package contains library source intended for building other packages -which use "format_plaintext" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "format_plaintext" feature of the "%{crate}" crate. %files -n %{name}+format_plaintext-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+git-version-devel Summary: %{summary} @@ -94,11 +93,11 @@ BuildArch: noarch %description -n %{name}+git-version-devel %{_description} -This package contains library source intended for building other packages -which use "git-version" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "git-version" feature of the "%{crate}" crate. %files -n %{name}+git-version-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+git_hash-devel Summary: %{summary} @@ -106,11 +105,11 @@ BuildArch: noarch %description -n %{name}+git_hash-devel %{_description} -This package contains library source intended for building other packages -which use "git_hash" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "git_hash" feature of the "%{crate}" crate. %files -n %{name}+git_hash-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sys-info-devel Summary: %{summary} @@ -118,11 +117,11 @@ BuildArch: noarch %description -n %{name}+sys-info-devel %{_description} -This package contains library source intended for building other packages -which use "sys-info" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "sys-info" feature of the "%{crate}" crate. %files -n %{name}+sys-info-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 505fb8d..cf6655f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bugreport-0.4.1.crate) = ad54c8f52169594ae010093b818255cf16b44741db6802ffb9eb4c1fe699a59183f3505f553f8345aecfe3afd518c4272625adee0e880990a38b0bd9a9db6eed +SHA512 (bugreport-0.5.0.crate) = d1418b6c8df333b4b245f428f3442968f7b75961a00523fb432ff2f904eca07cd208d417e63b2fb0a86b85a6853e4c474d30c19b80a85d8724db66ecd762da7c