import rust-stats_alloc-0.1.10-1.el9

i9ce changed/i9ce/rust-stats_alloc-0.1.10-1.el9
Arkady L. Shane 1 year ago
commit 08f8d253de
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

Binary file not shown.

@ -0,0 +1,51 @@
From 60c1c1b295c5398401bf8f43aebd3794a543f84f Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma@fedoraproject.org>
Date: Sun, 22 Jan 2023 14:04:40 -0600
Subject: [PATCH] Add license text
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This project is MIT licensed; the license terms require that
redistributed sources (e.g. that carried by Linux distributions) contain
a copy of the license text.
```
stats_alloc on  add-license [+]
cargo package --allow-dirty --no-verify
Packaging stats_alloc v0.1.10 (/home/michel/src/github/neoeinstein/stats_alloc)
stats_alloc on  add-license [+]
tar tf target/package/stats_alloc-0.1.10.crate | grep LICENSE
stats_alloc-0.1.10/LICENSE
```
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
---
LICENSE | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 LICENSE
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..d5075a3
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,17 @@
+Permission is hereby granted, without written agreement and without
+license or royalty fees, to use, copy, modify, and distribute this
+software and its documentation for any purpose, provided that the
+above copyright notice and the following two paragraphs appear in
+all copies of this software.
+
+IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
+DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
+ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
+IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+
+THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
+BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
+ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
+PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

@ -0,0 +1,85 @@
## 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 23
%bcond_without check
%global debug_package %{nil}
%global crate stats_alloc
Name: rust-stats_alloc
Version: 0.1.10
Release: %autorelease
Summary: Allocator wrapper that allows for instrumenting global allocators
License: MIT
URL: https://crates.io/crates/stats_alloc
Source: %{crates_source}
# Add missing license text
Patch: https://github.com/neoeinstein/stats_alloc/pull/7.patch#/stats_alloc-add-license.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Allocator wrapper that allows for instrumenting global allocators.}
%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
%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.1.10-1
- Rebuilt for MSVSphere 9.3
* Mon Jan 23 2023 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.1.10-1
- Initial Fedora package
Loading…
Cancel
Save