From 7559649d2f4c6fd5f69fc3e8cecda0b3b95dbbd2 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 May 2022 12:26:45 +0200 Subject: [PATCH 2/4] Update to version 0.6.26; Fixes RHBZ#2088803 --- .gitignore | 1 + rust-regex-syntax.spec | 57 +++++++++++++++++++++--------------------- sources | 2 +- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.gitignore b/.gitignore index 371c20a..80c4ed6 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ /regex-syntax-0.6.22.crate /regex-syntax-0.6.23.crate /regex-syntax-0.6.25.crate +/regex-syntax-0.6.26.crate diff --git a/rust-regex-syntax.spec b/rust-regex-syntax.spec index 8f87481..fa85376 100644 --- a/rust-regex-syntax.spec +++ b/rust-regex-syntax.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate regex-syntax Name: rust-%{crate} -Version: 0.6.25 +Version: 0.6.26 Release: %autorelease Summary: Regular expression parser -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/regex-syntax Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Regular expression parser.} @@ -33,12 +30,14 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ +%exclude %{crate_instdir}/test %package -n %{name}+default-devel Summary: %{summary} @@ -47,10 +46,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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 %package -n %{name}+unicode-devel Summary: %{summary} @@ -59,10 +58,10 @@ BuildArch: noarch %description -n %{name}+unicode-devel %{_description} This package contains library source intended for building other packages which -use "the unicode" feature of the "%{crate}" crate. +use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-age-devel Summary: %{summary} @@ -71,10 +70,10 @@ BuildArch: noarch %description -n %{name}+unicode-age-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-age" feature of the "%{crate}" crate. +use the "unicode-age" feature of the "%{crate}" crate. %files -n %{name}+unicode-age-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-bool-devel Summary: %{summary} @@ -83,10 +82,10 @@ BuildArch: noarch %description -n %{name}+unicode-bool-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-bool" feature of the "%{crate}" crate. +use the "unicode-bool" feature of the "%{crate}" crate. %files -n %{name}+unicode-bool-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-case-devel Summary: %{summary} @@ -95,10 +94,10 @@ BuildArch: noarch %description -n %{name}+unicode-case-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-case" feature of the "%{crate}" crate. +use the "unicode-case" feature of the "%{crate}" crate. %files -n %{name}+unicode-case-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-gencat-devel Summary: %{summary} @@ -107,10 +106,10 @@ BuildArch: noarch %description -n %{name}+unicode-gencat-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-gencat" feature of the "%{crate}" crate. +use the "unicode-gencat" feature of the "%{crate}" crate. %files -n %{name}+unicode-gencat-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-perl-devel Summary: %{summary} @@ -119,10 +118,10 @@ BuildArch: noarch %description -n %{name}+unicode-perl-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-perl" feature of the "%{crate}" crate. +use the "unicode-perl" feature of the "%{crate}" crate. %files -n %{name}+unicode-perl-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-script-devel Summary: %{summary} @@ -131,10 +130,10 @@ BuildArch: noarch %description -n %{name}+unicode-script-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-script" feature of the "%{crate}" crate. +use the "unicode-script" feature of the "%{crate}" crate. %files -n %{name}+unicode-script-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-segment-devel Summary: %{summary} @@ -143,10 +142,10 @@ BuildArch: noarch %description -n %{name}+unicode-segment-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-segment" feature of the "%{crate}" crate. +use the "unicode-segment" feature of the "%{crate}" crate. %files -n %{name}+unicode-segment-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 16c9ea3..aac3c80 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-syntax-0.6.25.crate) = a3d31f82aadc6be1796f76c03152ff24f37fe42d6ce27fb98e2f55ab102f86502bc37ccd563f6e0eba61aab20d002184c618517b678b3b93cb8f0497cc046ca5 +SHA512 (regex-syntax-0.6.26.crate) = 46087f5a2abfb48f24da77e79e66f6e514b5d005c4ae2c3283418ec471ddac9e4a1361edbae9d27efeb10217157092f812946b7b98182cf9f8aa703e01c03634 From 590a7b42ccdcc06ff355ae58289d3a826a50d994 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 8 Jul 2022 16:45:52 +0200 Subject: [PATCH 3/4] Update to version 0.6.27; Fixes RHBZ#2104188 --- .gitignore | 1 + rust-regex-syntax.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 80c4ed6..b7a0f5e 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ /regex-syntax-0.6.23.crate /regex-syntax-0.6.25.crate /regex-syntax-0.6.26.crate +/regex-syntax-0.6.27.crate diff --git a/rust-regex-syntax.spec b/rust-regex-syntax.spec index fa85376..c6c334f 100644 --- a/rust-regex-syntax.spec +++ b/rust-regex-syntax.spec @@ -5,7 +5,7 @@ %global crate regex-syntax Name: rust-%{crate} -Version: 0.6.26 +Version: 0.6.27 Release: %autorelease Summary: Regular expression parser diff --git a/sources b/sources index aac3c80..c6c6fe9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-syntax-0.6.26.crate) = 46087f5a2abfb48f24da77e79e66f6e514b5d005c4ae2c3283418ec471ddac9e4a1361edbae9d27efeb10217157092f812946b7b98182cf9f8aa703e01c03634 +SHA512 (regex-syntax-0.6.27.crate) = 5cc705a5dda08cbdb4dbcf3fa98763cadcda13d9c3ba407b35f3e88d77935efc2704bb40b3fb5aad7dfbad0df43bcb4c4cad9732defb954e2228a0739f7c37c6