Name: resrm Version: 0.3.1 Release: 1%{?dist} Summary: drop-in replacement for rm with undo/restore built-in. License: GPL-3.0-or-later URL: https://github.com/guardutils/resrm Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros Provides: resrm = %{version}-%{release} Obsoletes: resrm < %{version}-%{release} %description resrm is a safe, drop-in replacement for the Linux rm command with undo/restore support. It moves files to a per-user trash instead of permanently deleting them, while still allowing full sudo support for root-owned files. %prep %autosetup -n %{name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files resrm %files -f %{pyproject_files} %license LICENCE %doc README.md %{_bindir}/resrm %changelog * Sun Nov 30 2025 Marco D'Aleo - 0.3.1-1 - Initial COPR build from source