summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-13 09:03:33 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-13 09:03:33 +0000
commite1158ffa787a47ad56c6545a10ef5e408bc345a1 (patch)
tree0cc03baf545276b95bb0067632c35e4820819b28
parent6a51f809b3c60a8dc7e996192620526e061b26b8 (diff)
automatic import of filesorter
-rw-r--r--filesorter.spec4
-rw-r--r--sources2
2 files changed, 4 insertions, 2 deletions
diff --git a/filesorter.spec b/filesorter.spec
index baf256c..7755799 100644
--- a/filesorter.spec
+++ b/filesorter.spec
@@ -14,7 +14,8 @@ Requires: python3
BuildArch: noarch
%description
-A filesorter using python
+A filesorter using python.
+using filesorter -[path1, path2] cmd to start.
%prep
@@ -35,6 +36,7 @@ mkdir -p %{buildroot}/usr/lib/%{name}
cp %{name} %{buildroot}%{_bindir}/%{name}
chmod +x %{buildroot}%{_bindir}/%{name}
install -m 0644 %{name}.py %{buildroot}/usr/lib/%{name}/
+alias main="filesorter"
echo "Install Done!\n"
diff --git a/sources b/sources
index 479bec7..72b90b4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0480a1ee89403b55106715c1c779aadd filesorter-0.0.1.tar.gz
+75de009dba7a1a5a0232f9031911b751 filesorter-0.0.1.tar.gz