From 27640ca07fd5bd5a6ddec83c55dbd96124a9b716 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 8 Feb 2025 14:16:03 +0000 Subject: automatic import of python-filesorter --- filesorter.spec | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'filesorter.spec') diff --git a/filesorter.spec b/filesorter.spec index 3973e40..9eda4ec 100644 --- a/filesorter.spec +++ b/filesorter.spec @@ -34,14 +34,13 @@ Summary: %{summary} %build -# The macro only supported projects with setup.py -%py3_build +# Simple Python pkg no need to py3_build %install -# The macro only supported projects with setup.py -%py3_install - +# Simple Python pkg, copy the script +mkdir -p %{buildroot}%{python3_sitelib}/filesorter/ +cp %{SOURCE0} %{buildroot}%{python3_sitelib}/filesorter/xxx.py %check %{pytest} @@ -52,10 +51,8 @@ Summary: %{summary} %doc README.md %license LICENSE.txt %{_bindir}/filesorter - # The library files needed to be listed manually %{python3_sitelib}/filesorter/ - # The metadata files needed to be listed manually %{python3_sitelib}/filesorter-*.egg-info/ -- cgit v1.2.3