From 227b246c99b6001b0ca75bc1129b5a45bfa7df3e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 17 Jul 2022 11:09:32 +0200 Subject: [PATCH] Update to version 0.1.10; Fixes RHBZ#2107663 --- .gitignore | 1 + rust-grep-regex.spec | 28 +++++++++++++--------------- sources | 2 +- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 6bdcdb8..2a8d053 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /grep-regex-0.1.7.crate /grep-regex-0.1.8.crate /grep-regex-0.1.9.crate +/grep-regex-0.1.10.crate diff --git a/rust-grep-regex.spec b/rust-grep-regex.spec index 68728fc..f6ed59f 100644 --- a/rust-grep-regex.spec +++ b/rust-grep-regex.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate grep-regex Name: rust-%{crate} -Version: 0.1.9 +Version: 0.1.10 Release: %autorelease Summary: Use Rust's regex library with the 'grep' crate -# Upstream license specification: Unlicense/MIT +# Upstream license specification: Unlicense OR MIT License: Unlicense or MIT URL: https://crates.io/crates/grep-regex Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Use Rust's regex library with the 'grep' crate.} @@ -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 UNLICENSE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%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_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index bc8dae9..2d9a68b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-regex-0.1.9.crate) = 02bcd610ff84a877808dd8b608e04b85971d435ab615ff7f0bfb4eb4fc40196c3e9a0f7eac920002947fb44414c84c2559d1a443b39dc57629a6cd28a065a1f6 +SHA512 (grep-regex-0.1.10.crate) = b6059125fa00585a2daa2ce8f6b252679c1ff7598924db4a44d996bdeea3a0b85e382eecbc84e45c948550755e02b53ab73532f858216327a0a39f9f9fd66fd6