From 78d9939128c496a5f5d27264574968fe9ea7ed2c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 12 Jul 2023 15:52:37 +0200 Subject: [PATCH] Update to version 0.7.4; Fixes RHBZ#2219814 --- .gitignore | 2 ++ regex-syntax-fix-metadata.diff | 10 +++++----- rust-regex-syntax.spec | 14 +++++++++++++- sources | 2 +- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 16b26b2..5067964 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ /regex-syntax-0.6.28.crate /regex-syntax-0.6.29.crate /regex-syntax-0.7.2.crate +/regex-syntax-0.7.3.crate +/regex-syntax-0.7.4.crate diff --git a/regex-syntax-fix-metadata.diff b/regex-syntax-fix-metadata.diff index 45db4d0..b7c924f 100644 --- a/regex-syntax-fix-metadata.diff +++ b/regex-syntax-fix-metadata.diff @@ -1,11 +1,11 @@ ---- regex-syntax-0.7.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ regex-syntax-0.7.2/Cargo.toml 2023-05-25T12:38:15.416758+00:00 -@@ -19,7 +19,7 @@ - homepage = "https://github.com/rust-lang/regex" +--- regex-syntax-0.7.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ regex-syntax-0.7.4/Cargo.toml 2023-07-12T13:53:26.127327+00:00 +@@ -21,7 +21,7 @@ + description = "A regular expression parser." documentation = "https://docs.rs/regex-syntax" readme = "README.md" -license = "MIT OR Apache-2.0" +license = "(MIT OR Apache-2.0) AND Unicode-DFS-2016" - repository = "https://github.com/rust-lang/regex" + repository = "https://github.com/rust-lang/regex/tree/master/regex-syntax" [package.metadata.docs.rs] diff --git a/rust-regex-syntax.spec b/rust-regex-syntax.spec index 1290b03..59dfe4d 100644 --- a/rust-regex-syntax.spec +++ b/rust-regex-syntax.spec @@ -5,7 +5,7 @@ %global crate regex-syntax Name: rust-regex-syntax -Version: 0.7.2 +Version: 0.7.4 Release: %autorelease Summary: Regular expression parser @@ -52,6 +52,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index d758e62..ced9cf4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-syntax-0.7.2.crate) = 3065cec128ae6ce427d13b68066fc02357c21f7d1517c1669295f857395eea3297344fb2171c96d15dfe48050785249b7b8b8138fbe5b4a65c8427968347c128 +SHA512 (regex-syntax-0.7.4.crate) = b33713c71f6f753820ca6405e8415e5eeed457efd01e81b0b720e48c135b9bb0973962269587ddca31350233aec6d3f598596cb48310db0633bf67f8970f0e18