summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-20 06:12:06 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-20 06:12:06 +0000
commit4a301077b14596c48bb2a3cb20d438ef690beb1a (patch)
tree84e2b85a62c7232c1613917850b958f832d98aab
parent56c7362b3437ce79d9dcbcb5866cc23fdfc4373d (diff)
automatic import of file-classifier
-rw-r--r--file-classifier.spec2
-rw-r--r--sources2
2 files changed, 3 insertions, 1 deletions
diff --git a/file-classifier.spec b/file-classifier.spec
index 96aba9f..2080e90 100644
--- a/file-classifier.spec
+++ b/file-classifier.spec
@@ -22,11 +22,13 @@ A simple file classifier
%install
%py3_install_wheel python_magic-0.4.27-py2.py3-none-any.whl
%py3_install
+ln -s %{_bindir}/%{name} %{_bindir}/main
%files
%license license
%doc README.md
%{_bindir}/%{name}
+%{_bindir}/main
%{python3_sitelib}/file_classifier
%{python3_sitelib}/file_classifier-%{version}-py%{python3_version}.egg-info
# requires
diff --git a/sources b/sources
index f035f8e..22cbe34 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-48591ee760868b096f56591d33c609bb file-classifier-1.0.0.tar.gz
+4f74db37678bb08184433f735cf20467 file-classifier-1.0.0.tar.gz