import rust-fancy-regex0.7-0.7.1-1.el9

i9ce changed/i9ce/rust-fancy-regex0.7-0.7.1-1.el9
Arkady L. Shane 1 year ago
commit 9b3716ca55
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

Binary file not shown.

@ -0,0 +1,18 @@
--- fancy-regex-0.7.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ fancy-regex-0.7.1/Cargo.toml 2023-01-22T19:35:07.042003+00:00
@@ -30,14 +30,12 @@
[dependencies.regex]
version = "1.2"
-[dev-dependencies.criterion]
-version = "= 0.3.4"
[dev-dependencies.matches]
version = "0.1.8"
[dev-dependencies.quickcheck]
-version = "= 1.0.1"
+version = "1.0.1"
[features]
track_caller = []

@ -0,0 +1,103 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.1)
## 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 23
%bcond_without check
%global debug_package %{nil}
%global crate fancy-regex
Name: rust-fancy-regex0.7
Version: 0.7.1
Release: %autorelease
Summary: Implementation of regexes, supporting a relatively rich set of features
License: MIT
URL: https://crates.io/crates/fancy-regex
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
# * relax quickcheck dev-dependency from =1.0.1 to ^1.0.1
Patch: fancy-regex-fix-metadata.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Implementation of regexes, supporting a relatively rich set of features,
including backreferences and look-around.}
%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
%doc %{crate_instdir}/AUTHORS
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/PERFORMANCE.md
%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}+track_caller-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+track_caller-devel %{_description}
This package contains library source intended for building other packages which
use the "track_caller" feature of the "%{crate}" crate.
%files -n %{name}+track_caller-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
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.7.1-1
- Rebuilt for MSVSphere 9.3
* Sun Jan 22 2023 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.7.1-1
- Initial Fedora package
Loading…
Cancel
Save