The package rpms/rust-fancy-regex.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-fancy-regex.git/commit/?id=f4b2....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 5f1684e703c69547132710419468f47923df01cc Author: Michel Alexandre Salim salimma@fedoraproject.org Date: Sun Jan 22 13:36:40 2023 -0600
Update to 0.11.0
Signed-off-by: Michel Alexandre Salim salimma@fedoraproject.org
diff --git a/.gitignore b/.gitignore index a56e063..ce6db2d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /fancy-regex-0.7.0.crate /fancy-regex-0.7.1.crate +/fancy-regex-0.11.0.crate diff --git a/fancy-regex-fix-metadata.diff b/fancy-regex-fix-metadata.diff index de16997..1b6897b 100644 --- a/fancy-regex-fix-metadata.diff +++ b/fancy-regex-fix-metadata.diff @@ -1,18 +1,12 @@ ---- fancy-regex-0.7.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ fancy-regex-0.7.1/Cargo.toml 2022-11-04T17:34:40.211081+00:00 -@@ -30,14 +30,12 @@ +--- fancy-regex-0.11.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ fancy-regex-0.11.0/Cargo.toml 2023-01-22T19:16:36.757214+00:00 +@@ -40,9 +40,6 @@ + features = ["std"] + default-features = false
- [dependencies.regex] - version = "1.2" -[dev-dependencies.criterion] --version = "= 0.3.4" - +-version = "0.3.0" +- [dev-dependencies.matches] version = "0.1.8"
- [dev-dependencies.quickcheck] --version = "= 1.0.1" -+version = "1.0.1" - - [features] - track_caller = [] diff --git a/rust-fancy-regex.spec b/rust-fancy-regex.spec index eb5d6bc..7ee906b 100644 --- a/rust-fancy-regex.spec +++ b/rust-fancy-regex.spec @@ -5,7 +5,7 @@ %global crate fancy-regex
Name: rust-fancy-regex -Version: 0.7.1 +Version: 0.11.0 Release: %autorelease Summary: Implementation of regexes, supporting a relatively rich set of features
@@ -14,7 +14,6 @@ URL: https://crates.io/crates/fancy-regex Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds -# * relax quickcheck dev-dependency from =1.0.1 to ^1.0.1 Patch: fancy-regex-fix-metadata.diff
BuildRequires: rust-packaging >= 21 @@ -55,6 +54,66 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+perf-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf" feature of the "%{crate}" crate. + +%files -n %{name}+perf-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+perf-cache-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-cache-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-cache" feature of the "%{crate}" crate. + +%files -n %{name}+perf-cache-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+perf-dfa-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-dfa-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-dfa" feature of the "%{crate}" crate. + +%files -n %{name}+perf-dfa-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+perf-inline-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-inline-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-inline" feature of the "%{crate}" crate. + +%files -n %{name}+perf-inline-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+perf-literal-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-literal-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-literal" feature of the "%{crate}" crate. + +%files -n %{name}+perf-literal-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+track_caller-devel Summary: %{summary} BuildArch: noarch @@ -67,6 +126,18 @@ use the "track_caller" feature of the "%{crate}" crate. %files -n %{name}+track_caller-devel %ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+unicode-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index a898b9c..243df5a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fancy-regex-0.7.1.crate) = 533cd4eb50a1a9665f42dfb0c6f4e8c7bbf4f45eb50abe023e44f0dee66a9e40ff82784b10dc9e1f4aebd652efebe3472fd3ba92996dec0932465cd2cfc932c5 +SHA512 (fancy-regex-0.11.0.crate) = 7d35306e596543ac63a7b0fab145a401b8eceae08c6d7564dc46aa6f28269acabe59135b30dab20f3ffa6779f5a0d3fcd0264d8b5c19be56fd66dbf6e5c2092b
commit 5e823330cbac739dfd31aa5fdc3d9b6e68e96929 Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jan 20 22:48:33 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit f4b2971162ccf086a90b0e711661761fd44560e8 Author: Fabio Valentini decathorpe@gmail.com Date: Fri Nov 4 18:37:19 2022 +0100
Drop unused, benchmark-only criterion dev-dependency
diff --git a/fancy-regex-fix-metadata.diff b/fancy-regex-fix-metadata.diff index 4d8814e..de16997 100644 --- a/fancy-regex-fix-metadata.diff +++ b/fancy-regex-fix-metadata.diff @@ -1,11 +1,11 @@ --- fancy-regex-0.7.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ fancy-regex-0.7.1/Cargo.toml 2021-08-16T12:59:47.016680+00:00 -@@ -31,13 +31,13 @@ ++++ fancy-regex-0.7.1/Cargo.toml 2022-11-04T17:34:40.211081+00:00 +@@ -30,14 +30,12 @@ + [dependencies.regex] version = "1.2" - [dev-dependencies.criterion] +-[dev-dependencies.criterion] -version = "= 0.3.4" -+version = "0.3.4"
[dev-dependencies.matches] version = "0.1.8" diff --git a/rust-fancy-regex.spec b/rust-fancy-regex.spec index b3833b0..eb5d6bc 100644 --- a/rust-fancy-regex.spec +++ b/rust-fancy-regex.spec @@ -1,29 +1,23 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil}
%global crate fancy-regex
-Name: rust-%{crate} +Name: rust-fancy-regex Version: 0.7.1 Release: %autorelease Summary: Implementation of regexes, supporting a relatively rich set of features
-# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/fancy-regex Source: %{crates_source} -# Initial patched metadata -# * relax criterion dev-dependency -# * relax quickcheck dev-dependency -Patch0: fancy-regex-fix-metadata.diff +# Manually created patch for downstream crate metadata changes +# * drop unused, benchmark-only criterion dev-dependency to speed up builds +# * relax quickcheck dev-dependency from =1.0.1 to ^1.0.1 +Patch: fancy-regex-fix-metadata.diff
-ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: Implementation of regexes, supporting a relatively rich set of features, @@ -37,13 +31,17 @@ 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 LICENSE -%doc examples README.md PERFORMANCE.md CONTRIBUTING.md CHANGELOG.md AUTHORS -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/AUTHORS +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/PERFORMANCE.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/
%package -n %{name}+default-devel Summary: %{summary} @@ -51,11 +49,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
%package -n %{name}+track_caller-devel Summary: %{summary} @@ -63,11 +61,11 @@ BuildArch: noarch
%description -n %{name}+track_caller-devel %{_description}
-This package contains library source intended for building other packages -which use "track_caller" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "track_caller" feature of the "%{crate}" crate.
%files -n %{name}+track_caller-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml
%prep %autosetup -n %{crate}-%{version_no_tilde} -p1