Initial import (regex-automata 0.1 compat package)

epel10
Fabio Valentini 2 years ago
parent 076950b0d4
commit 6b2e60f768
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/regex-automata-0.1.10.crate

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

@ -0,0 +1,11 @@
--- regex-automata-0.1.10/Cargo.toml 1970-01-01T00:00:00+00:00
+++ regex-automata-0.1.10/Cargo.toml 2023-07-07T18:27:26.582864+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."

@ -0,0 +1,99 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate regex-automata
Name: rust-regex-automata0.1
Version: 0.1.10
Release: %autorelease
Summary: Automata construction and matching using regular expressions
# Upstream license specification: Unlicense/MIT
License: Unlicense OR MIT
URL: https://crates.io/crates/regex-automata
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * prevent test data from being installed
Patch: regex-automata-fix-metadata.diff
BuildRequires: rust-packaging >= 21
%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}/COPYING
%license %{crate_instdir}/LICENSE-MIT
%license %{crate_instdir}/UNLICENSE
%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/TODO
%{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}+regex-syntax-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+regex-syntax-devel %{_description}
This package contains library source intended for building other packages which
use the "regex-syntax" feature of the "%{crate}" crate.
%files -n %{name}+regex-syntax-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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

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

@ -0,0 +1 @@
SHA512 (regex-automata-0.1.10.crate) = 56d64da361afce82c6cb49e70b99ce1fca3e1969c54bba5f9971db135f8544c65f49feb8827789947b3d1dcefc9c49a7a434a7ffe0d09c5900345a1733723c5f
Loading…
Cancel
Save