commit f848bd5436d0129614ab13e92e579bc516fd79d7 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:53:06 2024 +0300 import rust-regex-automata-0.4.9-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9386d1c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/regex-automata-0.4.9.crate diff --git a/.rust-regex-automata.metadata b/.rust-regex-automata.metadata new file mode 100644 index 0000000..343a2b3 --- /dev/null +++ b/.rust-regex-automata.metadata @@ -0,0 +1 @@ +b7cdf35bd812944d4784dc99a1b11ffe017fe4f9 SOURCES/regex-automata-0.4.9.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..e3be485 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["lib", "doc"] +comments = ["integration tests can only be run in-tree"] diff --git a/SPECS/rust-regex-automata.spec b/SPECS/rust-regex-automata.spec new file mode 100644 index 0000000..20ee927 --- /dev/null +++ b/SPECS/rust-regex-automata.spec @@ -0,0 +1,556 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate regex-automata + +Name: rust-regex-automata +Version: 0.4.9 +Release: %autorelease +Summary: Automata construction and matching using regular expressions + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/regex-automata +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Automata construction and matching using regular expressions.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +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. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dfa-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dfa-devel %{_description} + +This package contains library source intended for building other packages which +use the "dfa" feature of the "%{crate}" crate. + +%files -n %{name}+dfa-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dfa-build-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dfa-build-devel %{_description} + +This package contains library source intended for building other packages which +use the "dfa-build" feature of the "%{crate}" crate. + +%files -n %{name}+dfa-build-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dfa-onepass-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dfa-onepass-devel %{_description} + +This package contains library source intended for building other packages which +use the "dfa-onepass" feature of the "%{crate}" crate. + +%files -n %{name}+dfa-onepass-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+dfa-search-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dfa-search-devel %{_description} + +This package contains library source intended for building other packages which +use the "dfa-search" feature of the "%{crate}" crate. + +%files -n %{name}+dfa-search-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hybrid-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hybrid-devel %{_description} + +This package contains library source intended for building other packages which +use the "hybrid" feature of the "%{crate}" crate. + +%files -n %{name}+hybrid-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+internal-instrument-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+internal-instrument-devel %{_description} + +This package contains library source intended for building other packages which +use the "internal-instrument" feature of the "%{crate}" crate. + +%files -n %{name}+internal-instrument-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+internal-instrument-pikevm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+internal-instrument-pikevm-devel %{_description} + +This package contains library source intended for building other packages which +use the "internal-instrument-pikevm" feature of the "%{crate}" crate. + +%files -n %{name}+internal-instrument-pikevm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "logging" feature of the "%{crate}" crate. + +%files -n %{name}+logging-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+meta-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+meta-devel %{_description} + +This package contains library source intended for building other packages which +use the "meta" feature of the "%{crate}" crate. + +%files -n %{name}+meta-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nfa-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nfa-devel %{_description} + +This package contains library source intended for building other packages which +use the "nfa" feature of the "%{crate}" crate. + +%files -n %{name}+nfa-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nfa-backtrack-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nfa-backtrack-devel %{_description} + +This package contains library source intended for building other packages which +use the "nfa-backtrack" feature of the "%{crate}" crate. + +%files -n %{name}+nfa-backtrack-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nfa-pikevm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nfa-pikevm-devel %{_description} + +This package contains library source intended for building other packages which +use the "nfa-pikevm" feature of the "%{crate}" crate. + +%files -n %{name}+nfa-pikevm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+nfa-thompson-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nfa-thompson-devel %{_description} + +This package contains library source intended for building other packages which +use the "nfa-thompson" feature of the "%{crate}" crate. + +%files -n %{name}+nfa-thompson-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-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}+perf-literal-multisubstring-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-literal-multisubstring-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-literal-multisubstring" feature of the "%{crate}" crate. + +%files -n %{name}+perf-literal-multisubstring-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+perf-literal-substring-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+perf-literal-substring-devel %{_description} + +This package contains library source intended for building other packages which +use the "perf-literal-substring" feature of the "%{crate}" crate. + +%files -n %{name}+perf-literal-substring-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+syntax-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+syntax-devel %{_description} + +This package contains library source intended for building other packages which +use the "syntax" feature of the "%{crate}" crate. + +%files -n %{name}+syntax-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 + +%package -n %{name}+unicode-age-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-age-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-bool-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-bool-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-case-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-case-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-gencat-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-gencat-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-perl-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-perl-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-script-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-script-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-segment-devel +Summary: %{summary} +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. + +%files -n %{name}+unicode-segment-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-word-boundary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unicode-word-boundary-devel %{_description} + +This package contains library source intended for building other packages which +use the "unicode-word-boundary" feature of the "%{crate}" crate. + +%files -n %{name}+unicode-word-boundary-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +# * integration tests can only be run in-tree +# * skip one doctest that fails depending on Rust version and architecture: +# https://github.com/rust-lang/regex/issues/1230 +%cargo_test -- --lib +%cargo_test -- --doc -- --skip nfa::thompson::compiler::Config::nfa_size_limit +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.4.9-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Nov 12 2024 Fabio Valentini - 0.4.9-1 +- Update to version 0.4.9; Fixes RHBZ#2325217 + +* Fri Oct 04 2024 Fabio Valentini - 0.4.8-2 +- Skip one doctest that fails depending on Rust version and architecture + +* Fri Oct 04 2024 Fabio Valentini - 0.4.8-1 +- Update to version 0.4.8; Fixes RHBZ#2315562 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.4.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jun 10 2024 Fabio Valentini - 0.4.7-1 +- Update to version 0.4.7; Fixes RHBZ#2291082 + +* Tue Mar 05 2024 Fabio Valentini - 0.4.6-1 +- Update to version 0.4.6; Fixes RHBZ#2267689 + +* Tue Jan 30 2024 Fabio Valentini - 0.4.5-1 +- Update to version 0.4.5; Fixes RHBZ#2259422 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Oct 17 2023 Fabio Valentini - 0.4.3-1 +- Update to version 0.4.3; Fixes RHBZ#2244495 + +* Sat Oct 14 2023 Fabio Valentini - 0.4.2-1 +- Update to version 0.4.2; Fixes RHBZ#2241489 + +* Tue Sep 19 2023 Fabio Valentini - 0.3.8-1 +- Update to version 0.3.8; Fixes RHBZ#2236988 + +* Sat Aug 26 2023 Fabio Valentini - 0.3.7-1 +- Update to version 0.3.7, Fixes RHBZ#2229410 + +* Sat Jul 29 2023 Fabio Valentini - 0.3.4-1 +- Update to version 0.3.4; Fixes RHBZ#2227385 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.3.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jul 12 2023 Fabio Valentini - 0.3.3-2 +- Ignore harmless test failures on 32-bit architectures (again) + +* Wed Jul 12 2023 Fabio Valentini - 0.3.3-1 +- Update to version 0.3.3 + +* Wed Jul 12 2023 Fabio Valentini - 0.3.2-3 +- Ignore harmless test failures on 32-bit architectures + +* Wed Jul 12 2023 Fabio Valentini - 0.3.2-2 +- Disable integration tests that can only be run in-tree + +* Wed Jul 12 2023 Fabio Valentini - 0.3.2-1 +- Update to version 0.3.2; Fixes RHBZ#2062858 + +* Thu May 25 2023 Fabio Valentini - 0.1.10-7 +- Regenerate with rust2rpm v24 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.1.10-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.10-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 01 2021 Fabio Valentini - 0.1.10-1 +- Update to version 0.1.10. +- Fixes RHBZ#1966668 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.9-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Dec 12 2020 Fabio Valentini - 0.1.9-3 +- Remove features with missing dependencies (fst). + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Mar 10 2020 Josh Stone - 0.1.9-1 +- Update to 0.1.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Jul 28 21:16:45 CEST 2019 Igor Gnatenko - 0.1.8-1 +- Update to 0.1.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 09:18:24 CEST 2019 Igor Gnatenko - 0.1.7-2 +- Regenerate + +* Sun Jun 09 15:16:47 CEST 2019 Igor Gnatenko - 0.1.7-1 +- Update to 0.1.7 + +* Sun Jun 09 10:40:42 CEST 2019 Igor Gnatenko - 0.1.6-2 +- Regenerate + +* Tue Apr 16 08:34:36 CEST 2019 Igor Gnatenko - 0.1.6-1 +- Initial package + +## END: Generated by rpmautospec