public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trash-cli] pr6: Update to 0.24.5.26
@ 2026-09-20 13:18 David Auer
0 siblings, 0 replies; only message in thread
From: David Auer @ 2026-09-20 13:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/trash-cli
Branch : pr6
Commit : e4933331d685f73d01188fe772d57f0d6b67e476
Author : David Auer <dreua@posteo.de>
Date : 2024-11-08T02:08:18+01:00
Stats : +17/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/trash-cli/c/e4933331d685f73d01188fe772d57f0d6b67e476?branch=pr6
Log:
Update to 0.24.5.26
---
diff --git a/.gitignore b/.gitignore
index 594f16b..d495c84 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/trash-cli-*.tar.gz
+/trash_cli-0.24.5.26.tar.gz
diff --git a/sources b/sources
index e4c5228..e42b7da 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (trash-cli-0.22.10.20.tar.gz) = 5696fe96a96db6e8e6a1643dd5da65124398a002dc03e57902a70e1a471edbd9081518ba1b0af6186e8eb9fba1ca69bb5b2e726a2d88ceed3b97392e03f70e44
+SHA512 (trash_cli-0.24.5.26.tar.gz) = 7f12e2669a64b15efdb452fd499aebea85b4ff16cb033425971d54740273ea851ccc3e39e294b25cd33ae35f5e81c5289a4028510d4370a54ada0a91ecedb05d
diff --git a/trash-cli.spec b/trash-cli.spec
index 40a610e..d2fa371 100644
--- a/trash-cli.spec
+++ b/trash-cli.spec
@@ -1,11 +1,17 @@
Summary: Command line interface to the freedesktop.org trashcan
Name: trash-cli
-Version: 0.22.10.20
-Release: 8%{?dist}
+Version: 0.24.5.26
+Release: 1%{?dist}
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
URL : https://github.com/andreafrancia/trash-cli
-Source0: https://files.pythonhosted.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz
+
+# The %%{pypi_source trash-cli} did not work for some reason, therefore the manual url from pypi
+Source0: https://files.pythonhosted.org/packages/f7/6c/d51b36377c35e4f9e69af4d8b61a920f26251483cdc0165f5513da7aefeb/trash_cli-0.24.5.26.tar.gz
+# TODO: Switch source to Github becaues the one from pypi is lacking tests and SHOULD therefore be replaced by a tar from Github
+# Reference: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi
+# Once that is done a %check section should be added to run at least one basic test (or more if feasible)
+
BuildArch: noarch
BuildRequires: python3-setuptools
BuildRequires: python3-devel
@@ -16,7 +22,8 @@ freedesktop.org compatible trash implementation. The command line interface is
compatible with rm and you can use trash-put as an alias to rm.
%prep
-%autosetup -n %{name}-%{version}
+# changed from %%{name} to trash_cli because pypi seems to convert dash to underscore here
+%autosetup -n trash_cli-%{version}
%build
%py3_build
@@ -33,6 +40,10 @@ compatible with rm and you can use trash-put as an alias to rm.
%{_mandir}/man1/trash*
%changelog
+* Thu Nov 07 2024 David Auer <dreua@posteo.de> - 0.24.5.26-1
+- New version
+- Fix Source0 and name in prep
+
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 0.22.10.20-8
- convert license to SPDX
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-20 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 13:18 [rpms/trash-cli] pr6: Update to 0.24.5.26 David Auer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox