Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent f8e29510a7
commit 467463d061
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-rd-util
The rust-rd-util package

@ -1,5 +1,5 @@
--- rd-util-2.1.2/Cargo.toml 1970-01-01T00:00:01+00:00 --- rd-util-2.1.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rd-util-2.1.2/Cargo.toml 2022-02-20T16:37:27.910551+00:00 +++ rd-util-2.1.2/Cargo.toml 2023-08-07T21:51:54.786572+00:00
@@ -87,7 +87,7 @@ @@ -87,7 +87,7 @@
version = "^1.0" version = "^1.0"

@ -1,25 +1,23 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rd-util %global crate rd-util
Name: rust-%{crate} Name: rust-rd-util
Version: 2.1.2 Version: 2.1.2
Release: %autorelease Release: %autorelease
Summary: Utility collection library for resctl-demo Summary: Utility collection library for resctl-demo
# Upstream license specification: Apache-2.0 License: Apache-2.0
License: ASL 2.0
URL: https://crates.io/crates/rd-util URL: https://crates.io/crates/rd-util
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
# * Bump simplelog to 0.11, https://github.com/facebookexperimental/resctl-demo/pull/262 # * bump simplelog dependency from 0.10 to 0.11:
Patch0: rd-util-fix-metadata.diff # https://github.com/facebookexperimental/resctl-demo/pull/262
Patch: rd-util-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Utility collection library for resctl-demo.} Utility collection library for resctl-demo.}
@ -36,9 +34,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md %doc %{crate_instdir}/README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,7 +48,7 @@ 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 %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save