blob: 466f1704cb992010f97bdda158e6c6cb1b0c68e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Name: Document_Classification
Version:1.0.0
Release:1%{?dist}
Summary:file reoganize
License:GPLv3+
URL: https://gitee.com/crayon-xiaoxin-xin/XiaoWu.git
Source0:%{name}-%{version}.tar.gz
%define debug_package %{nil}
%description
%prep
%setup -q # -q makes it quiet
%build
cjpm build
%install
# 将需要打包的文件拷贝到buildroot目录中去
mkdir -p %{buildroot}/root/Document-Classification/bin
mkdir -p %{buildroot}/root/Document-Classification/conf
cp -r %{_builddir}/%{name}-%{version}/target/release/bin/* %{buildroot}/root/Document-Classification/bin
%files
# 指定将要部署的文件有哪些
/root/Document-Classification/bin/*
%changelog
* Tue Dec 24 2024 Xiaowu <3260998685@qq.com>
-
|