summaryrefslogtreecommitdiff
path: root/file-reorganize.spec
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 /file-reorganize.spec
parent458b600d025d442d7f6e12091f6ae014ce86a990 (diff)
automatic import of file-reorganize
Diffstat (limited to 'file-reorganize.spec')
-rw-r--r--file-reorganize.spec10
1 files changed, 5 insertions, 5 deletions
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