You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
526 lines
16 KiB
526 lines
16 KiB
1 year ago
|
## START: Set by rpmautospec
|
||
|
## (rpmautospec version 0.3.5)
|
||
|
## 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 25
|
||
|
%bcond_without check
|
||
|
%global debug_package %{nil}
|
||
|
|
||
|
%global crate regex-automata
|
||
|
|
||
|
Name: rust-regex-automata
|
||
|
Version: 0.4.3
|
||
|
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
|
||
|
%cargo_test -- --lib
|
||
|
%cargo_test -- --doc
|
||
|
%endif
|
||
|
|
||
|
%changelog
|
||
|
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.4.3-1
|
||
|
- Rebuilt for MSVSphere 9.2
|
||
|
|
||
|
* Tue Oct 17 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.3-1
|
||
|
- Update to version 0.4.3; Fixes RHBZ#2244495
|
||
|
|
||
|
* Sat Oct 14 2023 Fabio Valentini <decathorpe@gmail.com> - 0.4.2-1
|
||
|
- Update to version 0.4.2; Fixes RHBZ#2241489
|
||
|
|
||
|
* Tue Sep 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.8-1
|
||
|
- Update to version 0.3.8; Fixes RHBZ#2236988
|
||
|
|
||
|
* Sat Aug 26 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.7-1
|
||
|
- Update to version 0.3.7, Fixes RHBZ#2229410
|
||
|
|
||
|
* Sat Jul 29 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.4-1
|
||
|
- Update to version 0.3.4; Fixes RHBZ#2227385
|
||
|
|
||
|
* Wed Jul 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.3-2
|
||
|
- Ignore harmless test failures on 32-bit architectures (again)
|
||
|
|
||
|
* Wed Jul 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.3-1
|
||
|
- Update to version 0.3.3
|
||
|
|
||
|
* Wed Jul 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.2-3
|
||
|
- Ignore harmless test failures on 32-bit architectures
|
||
|
|
||
|
* Wed Jul 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.2-2
|
||
|
- Disable integration tests that can only be run in-tree
|
||
|
|
||
|
* Wed Jul 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.2-1
|
||
|
- Update to version 0.3.2; Fixes RHBZ#2062858
|
||
|
|
||
|
* Wed Jul 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.10-8
|
||
|
- Regenerate with rust2rpm v24
|
||
|
|
||
|
* Wed Jul 12 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Wed Dec 29 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.1.10-5
|
||
|
- Rebuild
|
||
|
|
||
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.1.10-4
|
||
|
- Bootstrap (disable tests)
|
||
|
|
||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 01 2021 Fabio Valentini <decathorpe@gmail.com> - 0.1.10-1
|
||
|
- Update to version 0.1.10.
|
||
|
- Fixes RHBZ#1966668
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Sat Dec 12 2020 Fabio Valentini <decathorpe@gmail.com> - 0.1.9-3
|
||
|
- Remove features with missing dependencies (fst).
|
||
|
|
||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.9-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Tue Mar 10 2020 Josh Stone <jistone@redhat.com> - 0.1.9-1
|
||
|
- Update to 0.1.9
|
||
|
|
||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Sun Jul 28 21:16:45 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.8-1
|
||
|
- Update to 0.1.8
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 20 09:18:24 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-2
|
||
|
- Regenerate
|
||
|
|
||
|
* Sun Jun 09 15:16:47 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
|
||
|
- Update to 0.1.7
|
||
|
|
||
|
* Sun Jun 09 10:40:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.6-2
|
||
|
- Regenerate
|
||
|
|
||
|
* Tue Apr 16 08:34:36 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.6-1
|
||
|
- Initial package
|
||
|
|