public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-remove_dir_all] epel10: Adapt to new packaging
Date: Wed, 18 Nov 2026 21:42:33 GMT	[thread overview]
Message-ID: <179503815361.1.17140298770262370781.rpms-rust-remove_dir_all-6310fee8639d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-remove_dir_all
            Branch : epel10
            Commit : 6310fee8639dd342e255e27749bb5bcb516c6180
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-10-27T02:18:07+02:00
            Stats  : +37/-20 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-remove_dir_all/c/6310fee8639dd342e255e27749bb5bcb516c6180?branch=epel10

            Log:
            Adapt to new packaging

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/remove_dir_all-0.5.1-fix-metadata.diff b/remove_dir_all-0.5.1-fix-metadata.diff
deleted file mode 100644
index 5b2f7fc..0000000
--- a/remove_dir_all-0.5.1-fix-metadata.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- remove_dir_all-0.5.1/Cargo.toml	1970-01-01T01:00:00+01:00
-+++ remove_dir_all-0.5.1/Cargo.toml	2018-04-20T09:13:44.138170+02:00
-@@ -21,6 +21,3 @@
- categories = ["filesystem"]
- license = "MIT/Apache-2.0"
- repository = "https://github.com/Aaronepower/remove_dir_all.git"
--[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
new file mode 100644
index 0000000..ea41b4c
--- /dev/null
+++ b/remove_dir_all-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- remove_dir_all-0.5.1/Cargo.toml	1970-01-01T01:00:00+01:00
++++ remove_dir_all-0.5.1/Cargo.toml	2018-10-27T02:17:20.081383+02:00
+@@ -21,6 +21,3 @@
+ categories = ["filesystem"]
+ license = "MIT/Apache-2.0"
+ repository = "https://github.com/Aaronepower/remove_dir_all.git"
+-[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 c33e988..2ad1301 100644
--- a/rust-remove_dir_all.spec
+++ b/rust-remove_dir_all.spec
@@ -6,32 +6,50 @@
 
 Name:           rust-%{crate}
 Version:        0.5.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Safe, reliable implementation of remove_dir_all
 
+# Upstream license specification: MIT/Apache-2.0
 License:        MIT or ASL 2.0
 URL:            https://crates.io/crates/remove_dir_all
 Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
 # Initial patched metadata
 # * No windows
-Patch0:         remove_dir_all-0.5.1-fix-metadata.diff
+Patch0:         remove_dir_all-fix-metadata.diff
 
 ExclusiveArch:  %{rust_arches}
 
 BuildRequires:  rust-packaging
 
-%description
-%{summary}.
+%global _description \
+A safe, reliable implementation of remove_dir_all.
+
+%description %{_description}
 
 %package        devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description    devel
-A safe, reliable implementation of remove_dir_all for Windows.
+%description    devel %{_description}
 
 This package contains library source intended for building other packages
-which use %{crate} from crates.io.
+which use "%{crate}" crate.
+
+%files          devel
+%license LICENSE-MIT LICENSE-APACHE
+%{cargo_registry}/%{crate}-%{version}/
+
+%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 "default" feature of "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
 %prep
 %autosetup -n %{crate}-%{version} -p1
@@ -48,11 +66,10 @@ which use %{crate} from crates.io.
 %cargo_test
 %endif
 
-%files          devel
-%license LICENCE-MIT LICENCE-APACHE
-%{cargo_registry}/%{crate}-%{version}/
-
 %changelog
+* Sat Oct 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.1-3
+- Adapt to new packaging
+
 * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
 

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 21:42 Igor Gnatenko [this message]
2026-11-18 21:42 [rpms/rust-remove_dir_all] epel10: Adapt to new packaging Igor Gnatenko

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=179503815361.1.17140298770262370781.rpms-rust-remove_dir_all-6310fee8639d@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --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