Compare commits

...

21 Commits

Author SHA1 Message Date
Fabio Valentini e64132af05
Update to version 0.4.9; Fixes RHBZ#2325217
2 months ago
Fabio Valentini 5699779827
Skip one doctest that fails depending on Rust version and architecture
4 months ago
Fabio Valentini 4919395fce
Update to version 0.4.8; Fixes RHBZ#2315562
4 months ago
Fedora Release Engineering 209b0d2cf8 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
6 months ago
Fabio Valentini 96971ab9cd
Update to version 0.4.7; Fixes RHBZ#2291082
7 months ago
Fabio Valentini 1e5ae4f511
Update to version 0.4.6; Fixes RHBZ#2267689
11 months ago
Fabio Valentini 2f786ba83f
Update to version 0.4.5; Fixes RHBZ#2259422
12 months ago
Fedora Release Engineering 3cf1945acb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
12 months ago
Fabio Valentini 89153de4c9
Update to version 0.4.3; Fixes RHBZ#2244495
1 year ago
Fabio Valentini 829b47c350
Update to version 0.4.2; Fixes RHBZ#2241489
1 year ago
Fabio Valentini 12f6e0ca74
Update to version 0.3.8; Fixes RHBZ#2236988
1 year ago
Fabio Valentini 7dc7f42370
Update to version 0.3.7, Fixes RHBZ#2229410
1 year ago
Fabio Valentini f4ba9ae1e1
Update to version 0.3.4; Fixes RHBZ#2227385
1 year ago
Fedora Release Engineering 6e6f728e3a Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fabio Valentini 0861f790a0
Ignore harmless test failures on 32-bit architectures (again)
2 years ago
Fabio Valentini d11d782562
Update to version 0.3.3
2 years ago
Fabio Valentini b0cf168525
Ignore harmless test failures on 32-bit architectures
2 years ago
Fabio Valentini 4b98e53acb
Disable integration tests that can only be run in-tree
2 years ago
Fabio Valentini 507aea739e
Update to version 0.3.2; Fixes RHBZ#2062858
2 years ago
Fabio Valentini e69f8f5d84
Regenerate with rust2rpm v24
2 years ago
Fedora Release Engineering c3b57ff21b Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago

13
.gitignore vendored

@ -3,3 +3,16 @@
/regex-automata-0.1.8.crate
/regex-automata-0.1.9.crate
/regex-automata-0.1.10.crate
/regex-automata-0.3.2.crate
/regex-automata-0.3.3.crate
/regex-automata-0.3.4.crate
/regex-automata-0.3.7.crate
/regex-automata-0.3.8.crate
/regex-automata-0.4.1.crate
/regex-automata-0.4.2.crate
/regex-automata-0.4.3.crate
/regex-automata-0.4.5.crate
/regex-automata-0.4.6.crate
/regex-automata-0.4.7.crate
/regex-automata-0.4.8.crate
/regex-automata-0.4.9.crate

@ -1,4 +0,0 @@
[DEFAULT]
unwanted-features =
fst
transducer

@ -1,3 +0,0 @@
# rust-regex-automata
The rust-regex-automata package

@ -1,11 +0,0 @@
--- regex-automata-0.1.10/Cargo.toml 1970-01-01T00:00:00+00:00
+++ regex-automata-0.1.10/Cargo.toml 2021-06-01T21:48:33.720241+00:00
@@ -14,7 +14,7 @@
name = "regex-automata"
version = "0.1.10"
authors = ["Andrew Gallant <jamslam@gmail.com>"]
-exclude = ["/.travis.yml", "/appveyor.yml", "/ci/*", "/scripts/*", "/regex-automata-debug"]
+exclude = ["/.travis.yml", "/appveyor.yml", "/ci/*", "/scripts/*", "/regex-automata-debug", "/data/*"]
autoexamples = false
autotests = false
description = "Automata construction and matching using regular expressions."

@ -1,28 +1,19 @@
# Generated by rust2rpm 19
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate regex-automata
Name: rust-%{crate}
Version: 0.1.10
Name: rust-regex-automata
Version: 0.4.9
Release: %autorelease
Summary: Automata construction and matching using regular expressions
# Upstream license specification: Unlicense/MIT
License: Unlicense or MIT
License: MIT OR Apache-2.0
URL: https://crates.io/crates/regex-automata
Source: %{crates_source}
# Initial patched metadata
# * Exclude test files
Patch0: regex-automata-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Automata construction and matching using regular expressions.}
@ -36,12 +27,13 @@ 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 COPYING LICENSE-MIT UNLICENSE
%doc README.md TODO
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,22 +42,238 @@ 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}+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.
%package -n %{name}+regex-syntax-devel
%files -n %{name}+nfa-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nfa-backtrack-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+regex-syntax-devel %{_description}
%description -n %{name}+nfa-backtrack-devel %{_description}
This package contains library source intended for building other packages which
use "the regex-syntax" feature of the "%{crate}" crate.
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
%files -n %{name}+regex-syntax-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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}
@ -74,13 +282,133 @@ 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.
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%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_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@ -94,7 +422,11 @@ use "the std" feature of the "%{crate}" crate.
%if %{with check}
%check
%cargo_test
# * 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

@ -0,0 +1,3 @@
[tests]
run = ["lib", "doc"]
comments = ["integration tests can only be run in-tree"]

@ -1 +1 @@
SHA512 (regex-automata-0.1.10.crate) = 56d64da361afce82c6cb49e70b99ce1fca3e1969c54bba5f9971db135f8544c65f49feb8827789947b3d1dcefc9c49a7a434a7ffe0d09c5900345a1733723c5f
SHA512 (regex-automata-0.4.9.crate) = 40bde0ec91cc27bc0c3fa237a37ecee5a1f023dbe006a999c5888f8f578ee2c4c64d9edfe1827546cea8e92ca3c10f8b4d494d81f3d0422b40d90bca9cf598d2

Loading…
Cancel
Save