summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-26 07:51:24 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-26 07:51:24 +0000
commit954a9a5f848b7697c1a1c6b0afa7e7bef449d427 (patch)
tree7d91610d781ca67dcd1c47fdd09113b3b902aa59
parentd82d402804a426b548717ee0ca61cc07ef541b62 (diff)
automatic import of Document_Classification
-rw-r--r--Document_Classification.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/Document_Classification.spec b/Document_Classification.spec
index 4a561dd..0a16095 100644
--- a/Document_Classification.spec
+++ b/Document_Classification.spec
@@ -25,7 +25,11 @@ It includes [文件分类,将一个路径下的文件夹和子文件夹遍历
# 准备阶段的命令,通常用于解压源代码等操作
%prep
-%autosetup
+tar -xzf /builddir/build/SOURCES/Document_Classification - 1.0.0.tar.gz
+if [! -d "Document_Classification - 1.0.0" ]; then
+ echo "解压后的目录Document_Classification - 1.0.0不存在,解压可能失败"
+ exit 1
+fi
# 构建阶段的命令,根据项目的实际构建过程进行修改
%build