Name: janitor Version: 0.5 Release: 1 Summary: automatic clean-up for your Openstack tenant Group: Applications/Tools License: GPL3+ Source0: http://github.com/eduardocerqueira/janitor/%{name}-%{version}.tar.gz BuildRequires: python3-setuptools Requires: python3 Requires: python3-pip %global debug_package %{nil} # %define _unpackaged_files_terminate_build 0 %define _missing_doc_files_terminate_build 0 %description janitor is a Linux helper tool to perform clean-up tasks to Openstack based on whitelist %prep %setup -q -n %{name} %build %{__python3} setup.py build %install %{__python3} setup.py install -O1 --skip-build --root %{buildroot} mkdir -p %{buildroot}/%{_mandir}/man1 cp janitor.1 %{buildroot}/%{_mandir}/man1/janitor.1 %files %defattr(755,root,root,755) %{python3_sitelib}/janitor* %attr (755,root,root)/usr/bin/janitor %doc README.md %doc AUTHORS %{_mandir}/man1/janitor.1.gz %changelog * Fri Apr 30 2021 Eduardo Cerqueira - 0.0.2 - code refactoring migrating to python3 * Sun Oct 30 2016 Eduardo Cerqueira - 0.0.1 - initial build