Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent 16a7c3b41b
commit 3e02c4d1a2
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

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

@ -1,5 +1,5 @@
--- remove_dir_all-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00 --- remove_dir_all-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ remove_dir_all-0.7.0/Cargo.toml 2021-05-19T13:12:48.032737+00:00 +++ remove_dir_all-0.7.0/Cargo.toml 2023-05-25T19:03:22.357769+00:00
@@ -32,15 +32,3 @@ @@ -32,15 +32,3 @@
version = "3.1" version = "3.1"
[target."cfg(not(windows))".dependencies.libc] [target."cfg(not(windows))".dependencies.libc]

@ -1,32 +1,26 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 24
# * tests seem to be broken with Rust 1.55+ # * tests seem to be broken with Rust 1.55+
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate remove_dir_all %global crate remove_dir_all
Name: rust-%{crate} Name: rust-remove_dir_all
Version: 0.7.0 Version: 0.7.0
Release: %autorelease Release: %autorelease
Summary: Safe, reliable implementation of remove_dir_all Summary: Safe, reliable implementation of remove_dir_all
# 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/remove_dir_all URL: https://crates.io/crates/remove_dir_all
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * drop windows-specific dependencies Patch: remove_dir_all-fix-metadata-auto.diff
Patch0: remove_dir_all-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Safe, reliable implementation of remove_dir_all for Windows.} A safe, reliable implementation of remove_dir_all for Windows.}
%description %{_description} %description %{_description}
@ -37,12 +31,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENCE-APACHE LICENCE-MIT %license %{crate_instdir}/LICENCE-APACHE
%doc README.md %license %{crate_instdir}/LICENCE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -51,10 +46,10 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which 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