From 5861e664d381d8200411ae7a2c11b7e30c0b7187 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 30 Nov 2021 13:25:01 +0100 Subject: [PATCH] Update to version 0.1.2; Fixes RHBZ#2027074 --- .gitignore | 1 + rust-getset.spec | 20 +++++++++----------- sources | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 490caaa..2106cde 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /getset-0.1.1.crate +/getset-0.1.2.crate diff --git a/rust-getset.spec b/rust-getset.spec index fadf400..4561c6a 100644 --- a/rust-getset.spec +++ b/rust-getset.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate getset Name: rust-%{crate} -Version: 0.1.1 +Version: 0.1.2 Release: %autorelease -Summary: A procedural macro for generating the most basic getters and setters on fields. +Summary: Procedural macro for generating the most basic getters and setters on fields # Upstream license specification: MIT License: MIT @@ -15,13 +15,11 @@ URL: https://crates.io/crates/getset Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging %global _description %{expand: +We're ready to go! A procedural macro for generating the most basic getters and setters on fields.} %description %{_description} @@ -32,12 +30,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 -%doc examples README.md +%doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,8 +44,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 diff --git a/sources b/sources index de2a86b..15116bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (getset-0.1.1.crate) = 6bf2a3e9438121e6ed089bfc0ad9bd352fa6e07269371c8df4119d1a8b385e3188348df342bb8860395d6887e4a824ce4ca43ef597d933154d7f1d90d91d1982 +SHA512 (getset-0.1.2.crate) = 54f162d0d072253abcf26c8779a9d8eb423db9df85716da13a785edb4c61757cf0c03f3563dde5de4534be9d4d50498c03b8337dcaafeaefc29c9c836dff1371