Name: filedust Version: 0.3.1 Release: 1%{?dist} Summary: Opinionated junk cleaner for dev machines (caches, build artifacts, editor backups) License: GPL-3.0-or-later URL: https://github.com/guardutils/filedust Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-poetry-core BuildRequires: pyproject-rpm-macros Provides: filedust = %{version}-%{release} Obsoletes: filedust < %{version}-%{release} %description filedust is a small, fast, and safe command-line tool that scans your filesystem for obvious junk — things like Python pycache folders, build artifacts, editor backup files, and leftover temporary files — and cleans them up. %prep %autosetup -n %{name}-%{version} %build %pyproject_wheel %install %pyproject_install %pyproject_save_files filedust %files -f %{pyproject_files} %license LICENCE %doc README.md %{_bindir}/filedust