Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent 39578aee58
commit ef65a636f7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

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

@ -1,5 +1,5 @@
--- 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
+++ regex-automata-0.1.10/Cargo.toml 2023-05-25T18:18:57.088337+00:00
@@ -14,7 +14,7 @@
name = "regex-automata"
version = "0.1.10"

@ -1,28 +1,23 @@
# Generated by rust2rpm 19
%bcond_with check
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate regex-automata
Name: rust-%{crate}
Name: rust-regex-automata
Version: 0.1.10
Release: %autorelease
Summary: Automata construction and matching using regular expressions
# Upstream license specification: Unlicense/MIT
License: Unlicense or MIT
License: Unlicense OR MIT
URL: https://crates.io/crates/regex-automata
Source: %{crates_source}
# Initial patched metadata
# * Exclude test files
Patch0: regex-automata-fix-metadata.diff
# Manually created patch for downstream crate metadata changes
# * prevent test data from being installed
Patch: regex-automata-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Automata construction and matching using regular expressions.}
@ -36,12 +31,15 @@ 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}/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}
@ -50,10 +48,10 @@ 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}+regex-syntax-devel
Summary: %{summary}
@ -62,10 +60,10 @@ 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.
use the "regex-syntax" feature of the "%{crate}" crate.
%files -n %{name}+regex-syntax-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@ -74,10 +72,10 @@ 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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save