public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-remove_dir_all] epel10: Regenerate with rust2rpm v24
Date: Wed, 18 Nov 2026 21:42:47 GMT	[thread overview]
Message-ID: <179503816792.1.16773341036317606082.rpms-rust-remove_dir_all-4c37eea2e49e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-remove_dir_all
Branch : epel10
Commit : 4c37eea2e49e93b995e4aa4ca9ccadc7f632b93a
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2023-05-25T21:04:46+02:00
Stats  : +32/-40 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-remove_dir_all/c/4c37eea2e49e93b995e4aa4ca9ccadc7f632b93a?branch=epel10

Log:
Regenerate with rust2rpm v24

---
diff --git a/README.md b/README.md
deleted file mode 100644
index e9226f5..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-remove_dir_all
-
-The rust-remove_dir_all package
\ No newline at end of file

diff --git a/remove_dir_all-fix-metadata-auto.diff b/remove_dir_all-fix-metadata-auto.diff
new file mode 100644
index 0000000..ebb9101
--- /dev/null
+++ b/remove_dir_all-fix-metadata-auto.diff
@@ -0,0 +1,18 @@
+--- remove_dir_all-0.7.0/Cargo.toml	1970-01-01T00:00:00+00:00
++++ remove_dir_all-0.7.0/Cargo.toml	2023-05-25T19:03:22.357769+00:00
+@@ -32,15 +32,3 @@
+ version = "3.1"
+ [target."cfg(not(windows))".dependencies.libc]
+ version = "0.2"
+-[target."cfg(windows)".dependencies.log]
+-version = "0.4.11"
+-
+-[target."cfg(windows)".dependencies.num_cpus]
+-version = "1.13"
+-
+-[target."cfg(windows)".dependencies.rayon]
+-version = "1.4"
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["std", "errhandlingapi", "winerror", "fileapi", "winbase"]

diff --git a/remove_dir_all-fix-metadata.diff b/remove_dir_all-fix-metadata.diff
deleted file mode 100644
index 93ee99b..0000000
--- a/remove_dir_all-fix-metadata.diff
+++ /dev/null
@@ -1,18 +0,0 @@
---- 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
-@@ -32,15 +32,3 @@
- version = "3.1"
- [target."cfg(not(windows))".dependencies.libc]
- version = "0.2"
--[target."cfg(windows)".dependencies.log]
--version = "0.4.11"
--
--[target."cfg(windows)".dependencies.num_cpus]
--version = "1.13"
--
--[target."cfg(windows)".dependencies.rayon]
--version = "1.4"
--
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
--features = ["std", "errhandlingapi", "winerror", "fileapi", "winbase"]

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

                 reply	other threads:[~2026-11-18 21:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179503816792.1.16773341036317606082.rpms-rust-remove_dir_all-4c37eea2e49e@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox