public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trash-cli] pr6: Adjust to modern python packaging
@ 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 : 3634169df7ed75484589ae4b6087eb505683d41c
Author : David Auer <dreua@posteo.de>
Date : 2025-01-19T16:53:55+01:00
Stats : +8/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/trash-cli/c/3634169df7ed75484589ae4b6087eb505683d41c?branch=pr6
Log:
Adjust to modern python packaging
---
diff --git a/trash-cli.spec b/trash-cli.spec
index 74f9c6e..a4412a1 100644
--- a/trash-cli.spec
+++ b/trash-cli.spec
@@ -7,7 +7,6 @@ URL : https://github.com/andreafrancia/trash-cli
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python3-setuptools
BuildRequires: python3-devel
%description
@@ -18,21 +17,23 @@ compatible with rm and you can use trash-put as an alias to rm.
%prep
%autosetup -n %{name}-%{version}
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+
+%pyproject_save_files -l trashcli
%check
-# Once that is done a %check section should be added to run at least one basic test (or more if feasible)
-%files
+%files -f %{pyproject_files}
%doc README.rst
%{_bindir}/trash*
-%{python3_sitelib}/trashcli/
-%{python3_sitelib}/trash_cli-*-py*.egg-info
%{_mandir}/man1/trash*
%changelog
^ 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: Adjust to modern python packaging David Auer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox