summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-17 08:04:24 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-17 08:04:24 +0000
commitdd237dd521b16a06cfe78f14f9847d6b168cd509 (patch)
tree2cdb7d3fdd3aa77a3ad26b06ee8cd40e5cdbea64
parente23d76946cbefc4182408a2df66c0cbd6cb23e72 (diff)
automatic import of file-reorganizeopeneuler24.03_LTS
-rw-r--r--file-reorganize.spec4
-rw-r--r--sources2
2 files changed, 5 insertions, 1 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>
diff --git a/sources b/sources
index 7a1c1e5..b863776 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7fffc630ac20396df8955c38982b53c2 file-reorganize-1.0.tar.gz
+e8c255b80f905d6b160ee03f47fd5117 file-reorganize-1.0.tar.gz