diff options
author | CoprDistGit <infra@openeuler.org> | 2025-02-17 08:04:24 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-02-17 08:04:24 +0000 |
commit | dd237dd521b16a06cfe78f14f9847d6b168cd509 (patch) | |
tree | 2cdb7d3fdd3aa77a3ad26b06ee8cd40e5cdbea64 /file-reorganize.spec | |
parent | e23d76946cbefc4182408a2df66c0cbd6cb23e72 (diff) |
automatic import of file-reorganizeopeneuler24.03_LTS
Diffstat (limited to 'file-reorganize.spec')
-rw-r--r-- | file-reorganize.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/file-reorganize.spec b/file-reorganize.spec index 2be8f0e..21f54df 100644 --- a/file-reorganize.spec +++ b/file-reorganize.spec @@ -45,11 +45,15 @@ cjpm build # 将需要打包的文件拷贝到buildroot目录中去 plt=`uname -m` mkdir -p %{buildroot}/usr/bin +mkdir -p %{buildroot}/usr/lib cp -r %{_builddir}/%{name}-%{version}/target/release/bin/main %{buildroot}/usr/bin/ +cp -r %{_builddir}/%{name}-%{version}/crtbeginS.o %{buildroot}/usr/lib/ +cp -r %{_builddir}/%{name}-%{version}/crtendS.o %{buildroot}/usr/lib/ %files # 指定将要部署的文件有哪些 /usr/bin/main +/usr/lib/* %changelog * Tue Dec 24 2024 x_haihua <x_haihua@163.com> |