summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-01-08 12:29:34 +0000
committerCoprDistGit <infra@openeuler.org>2025-01-08 12:29:34 +0000
commitc7e50674a4b9365192c2cced0aad8b53c79359ae (patch)
tree9af25ebbd722709c6b458b09a9b4b6dc0e4b1d8e
parent458b600d025d442d7f6e12091f6ae014ce86a990 (diff)
automatic import of file-reorganize
-rw-r--r--file-reorganize-1.0.tar.gz3
-rw-r--r--file-reorganize.spec10
2 files changed, 8 insertions, 5 deletions
diff --git a/file-reorganize-1.0.tar.gz b/file-reorganize-1.0.tar.gz
new file mode 100644
index 0000000..f3aec68
--- /dev/null
+++ b/file-reorganize-1.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7087fd16c260d4ecec9408f617dc048dadb33716ac14868c125c02ff0f08519b
+size 1204867880
diff --git a/file-reorganize.spec b/file-reorganize.spec
index 41e9424..87cb08d 100644
--- a/file-reorganize.spec
+++ b/file-reorganize.spec
@@ -7,7 +7,7 @@ License: MulanPSL2.0
URL: https://atomgit.com/openeuler123/x_haihua.git
Source0: %{name}-%{version}.tar.gz
-BuildRequires: wget, dnf-plugins-core, binutils, glibc-devel, gcc-c++, openssl, git
+BuildRequires: dnf-plugins-core, binutils, glibc-devel, gcc-c++, openssl
%define debug_package %{nil}
@@ -20,11 +20,11 @@ BuildRequires: wget, dnf-plugins-core, binutils, glibc-devel, gcc-c++, openssl,
# 安装cangjie
plt=`uname -m`
if [[ $plt -eq "x86_64" ]]; then
- cd %{_builddir}
- git clone https://atomgit.com/x_haihua/cangjie_x86_64.git
- source %{_builddir}/cangjie_x86_64/envsetup.sh
+ mv %{_builddir}/%{name}-%{version}/lib/cangjie_x86_64 /root/cangjie
+ source /root/cangjie/envsetup.sh
else
- echo "waiting..."
+ mv %{_builddir}/%{name}-%{version}/lib/cangjie_aarch64/root/cangjie
+ source /root/cangjie/envsetup.sh
fi
%build