import rust-typed-arena1-1.7.0-2.el9

i9ce changed/i9ce/rust-typed-arena1-1.7.0-2.el9
Arkady L. Shane 1 year ago
commit b8d5b2fc4d
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

Binary file not shown.

@ -0,0 +1,16 @@
--- typed-arena-1.7.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ typed-arena-1.7.0/Cargo.toml 2022-04-14T19:53:26.130065+00:00
@@ -28,13 +28,6 @@
name = "typed_arena"
path = "src/lib.rs"
-[[bench]]
-name = "benches"
-path = "benches/benches.rs"
-harness = false
-[dev-dependencies.criterion]
-version = "0.3"
-
[features]
default = ["std"]
std = []

@ -0,0 +1,103 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.0)
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2;
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 21
%bcond_without check
%global debug_package %{nil}
%global crate typed-arena
Name: rust-%{crate}1
Version: 1.7.0
Release: %autorelease
Summary: Arena, a fast but limited type of allocator
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/typed-arena
Source: %{crates_source}
# Initial patched metadata
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch0: typed-arena-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Arena, a fast but limited type of allocator.}
%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}/CHANGELOG.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}+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
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.7.0-2
- Rebuilt for MSVSphere 9.3
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> 1.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Apr 14 2022 Fabio Valentini <decathorpe@gmail.com> 1.7.0-1
- Initial import (typed-arena 1 compat package)
Loading…
Cancel
Save