From a35d446991e0c093d3125efddf2e03522dcaf051 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 17 Jul 2022 11:09:45 +0200 Subject: [PATCH] Update to version 0.1.10; Fixes RHBZ#2107662 --- .gitignore | 1 + rust-grep-searcher.spec | 28 +++++++++++++--------------- sources | 2 +- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 23c303e..f1e0647 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /grep-searcher-0.1.6.crate /grep-searcher-0.1.7.crate /grep-searcher-0.1.8.crate +/grep-searcher-0.1.10.crate diff --git a/rust-grep-searcher.spec b/rust-grep-searcher.spec index 829b86f..f313427 100644 --- a/rust-grep-searcher.spec +++ b/rust-grep-searcher.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate grep-searcher Name: rust-%{crate} -Version: 0.1.8 +Version: 0.1.10 Release: %autorelease Summary: Fast line oriented regex searching as a library -# Upstream license specification: Unlicense/MIT +# Upstream license specification: Unlicense OR MIT License: Unlicense or MIT URL: https://crates.io/crates/grep-searcher Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast line oriented regex searching as a library.} @@ -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 3acb4de..184fbb5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-searcher-0.1.8.crate) = b3e7e0951f5188b4fa216bb62f5748e7bd9168ae081d9abc9bc5eb3080a396d55e21f17af4682b153e7531a42b1f58721c1751e29b1dddbf2b1897ff98cc9039 +SHA512 (grep-searcher-0.1.10.crate) = c1e085e85cc20113c9c26750b31b0fcfb8a67b3340a379fb40154cea35ea42269f944ea539c0f8e1db372e64af1e8593b46dd2835b7ffd3fcced117c8af39b88