Regenerate with rust2rpm v24

epel10
Fabio Valentini 2 years ago
parent 8accea22ec
commit 061c92a507
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-heapsize
The rust-heapsize package

@ -0,0 +1,9 @@
--- heapsize-0.4.2/Cargo.toml 1970-01-01T00:00:00+00:00
+++ heapsize-0.4.2/Cargo.toml 2023-03-20T17:45:39.243567+00:00
@@ -22,6 +22,3 @@
[features]
flexible-tests = []
unstable = []
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.4"
-features = ["std", "heapapi"]

@ -1,6 +1,6 @@
--- heapsize-0.4.2/Cargo.toml 1970-01-01T01:00:00+01:00 --- heapsize-0.4.2/Cargo.toml 1970-01-01T00:00:00+00:00
+++ heapsize-0.4.2/Cargo.toml 2018-10-27T12:35:25.915875+02:00 +++ heapsize-0.4.2/Cargo.toml 2023-03-20T17:45:50.713960+00:00
@@ -18,10 +18,8 @@ @@ -18,6 +18,7 @@
description = "Infrastructure for measuring the total runtime size of an object on the heap" description = "Infrastructure for measuring the total runtime size of an object on the heap"
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
repository = "https://github.com/servo/heapsize" repository = "https://github.com/servo/heapsize"
@ -8,7 +8,3 @@
[features] [features]
flexible-tests = [] flexible-tests = []
unstable = []
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.4"
-features = ["std", "heapapi"]

@ -1,30 +1,30 @@
# Generated by rust2rpm # Generated by rust2rpm 24
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate heapsize %global crate heapsize
Name: rust-%{crate} Name: rust-heapsize
Version: 0.4.2 Version: 0.4.2
Release: %autorelease Release: %autorelease
Summary: Infrastructure for measuring the total runtime size of an object on the heap Summary: Infrastructure for measuring the total runtime size of an object on the heap
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/heapsize URL: https://crates.io/crates/heapsize
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * No Windows Patch: heapsize-fix-metadata-auto.diff
# * Exclude CI files, https://github.com/servo/heapsize/pull/101 # Manually created patch for downstream crate metadata changes
Patch0: heapsize-fix-metadata.diff # * exclude CI configuration files:
# https://github.com/servo/heapsize/pull/101
Patch: heapsize-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging %global _description %{expand:
Infrastructure for measuring the total runtime size of an object on the
%global _description \ heap.}
Infrastructure for measuring the total runtime size of an object on the heap.
%description %{_description} %description %{_description}
@ -34,13 +34,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-MIT LICENSE-APACHE %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,11 +49,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+flexible-tests-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+flexible-tests-devel %{_description}
This package contains library source intended for building other packages which
use the "flexible-tests" feature of the "%{crate}" crate.
%files -n %{name}+flexible-tests-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unstable-devel %package -n %{name}+unstable-devel
Summary: %{summary} Summary: %{summary}
@ -60,16 +73,19 @@ BuildArch: noarch
%description -n %{name}+unstable-devel %{_description} %description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "unstable" feature of "%{crate}" crate. use the "unstable" feature of the "%{crate}" crate.
%files -n %{name}+unstable-devel %files -n %{name}+unstable-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build

Loading…
Cancel
Save