From 715e5921ced79f9e129c28d88ced10892b74a05c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 12 Sep 2023 11:17:03 +0200 Subject: [PATCH] Update to version 0.8.1; Fixes RHBZ#1948229 --- .gitignore | 1 + LICENSE | 25 ------------------------- rust-peg-runtime.spec | 7 ++----- sources | 2 +- 4 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 LICENSE diff --git a/.gitignore b/.gitignore index 32053e1..a498d90 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /peg-runtime-0.6.3.crate +/peg-runtime-0.8.1.crate diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d8f7bea..0000000 --- a/LICENSE +++ /dev/null @@ -1,25 +0,0 @@ -Copyright (C) 2013 Kevin Mehall - -Permission is hereby granted, free of charge, to any -person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the -Software without restriction, including without -limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software -is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions -of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED -TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT -SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR -IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -DEALINGS IN THE SOFTWARE. diff --git a/rust-peg-runtime.spec b/rust-peg-runtime.spec index ee38828..e39642d 100644 --- a/rust-peg-runtime.spec +++ b/rust-peg-runtime.spec @@ -5,15 +5,13 @@ %global crate peg-runtime Name: rust-peg-runtime -Version: 0.6.3 +Version: 0.8.1 Release: %autorelease Summary: Runtime support for rust-peg grammars License: MIT URL: https://crates.io/crates/peg-runtime -Source0: %{crates_source} -# https://github.com/kevinmehall/rust-peg/pull/241 -Source1: https://github.com/kevinmehall/rust-peg/raw/%{version}/LICENSE +Source: %{crates_source} BuildRequires: rust-packaging >= 21 @@ -51,7 +49,6 @@ use the "default" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep -cp -pav %{SOURCE1} . %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index 84eda9d..0cef55b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (peg-runtime-0.6.3.crate) = ea5fbba737b018decabe92f3ebae9cf0c99ceb272a80a4261e5dcec1e6b78e6456d6aa49c4c86f9276bae3c2eb87c67b1189e41c41fe5164bea445006bf9b712 +SHA512 (peg-runtime-0.8.1.crate) = 360677e388c0d98053bf60d7ae003bafae38e892d4f30e5f31f6fe26f13e236aa1e0dfc7c4d741604b4df601a1cbee376b5a32078ec6b0abe0b2062ab0d136cc