summaryrefslogtreecommitdiff
path: root/UNT.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-15 04:37:53 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-15 04:37:53 +0000
commit59beb34dbc60a01c17985ae68088b1db880b03d2 (patch)
treecdf6b728b4f670505fe6b9c3707f3f0b4f2318f8 /UNT.spec
parent56468f762a61e0294731fb6feb2ee157e4a0201b (diff)
automatic import of UNT
Diffstat (limited to 'UNT.spec')
-rw-r--r--UNT.spec11
1 files changed, 5 insertions, 6 deletions
diff --git a/UNT.spec b/UNT.spec
index 044bbd9..c491d7d 100644
--- a/UNT.spec
+++ b/UNT.spec
@@ -5,9 +5,8 @@ Summary: UDF native tool
License: MulanPSL-2.0
URL: https://gitee.com/openeuler/UNT.git
Source0: https://gitee.com/openeuler/UNT/repository/archive/%{name}-v%{version}.tar.gz
-Source1: maven.tgz.part-aa
-Source2: maven.tgz.part-ab
-Source3: maven.tgz.part-ac
+Source1: maven.tgz.part.aa
+Source2: maven.tgz.part.ab
BuildRequires: maven
BuildArch: noarch
@@ -19,9 +18,9 @@ and then compile native code to native binary.
%prep
%setup -q -n %{name}
-cat %{SOURCE1} %{SOURCE2} %{SOURCE3} > %{_builddir}/maven-repo.tgz
-mkdir -p %{_builddir}/.m2
-tar -xzf %{_builddir}/maven-repo.tgz -C %{_builddir}/.m2
+cat %{SOURCE1} %{SOURCE2} > %{_builddir}/maven-repo.tgz
+mkdir -p %{_builddir}/.m2/repository
+tar -xzf %{_builddir}/maven-repo.tgz -C %{_builddir}/.m2/repository
%build
cat > %{_builddir}/settings.xml << EOF