summaryrefslogtreecommitdiff
path: root/UNT.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-09-17 01:33:29 +0000
committerCoprDistGit <infra@openeuler.org>2025-09-17 01:33:29 +0000
commit478e4f920856a43c9a5a41ffbe10e6ead0bcfd5c (patch)
tree1d88ba2269e64bbcc08f6b7ade6067d3cacf42ee /UNT.spec
parente4e63e8f996b21f479f51d9537eaec3643f7a0f8 (diff)
automatic import of UNT
Diffstat (limited to 'UNT.spec')
-rw-r--r--UNT.spec11
1 files changed, 6 insertions, 5 deletions
diff --git a/UNT.spec b/UNT.spec
index bb6461c..6e45e8c 100644
--- a/UNT.spec
+++ b/UNT.spec
@@ -5,8 +5,9 @@ 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
+Source1: maven.tgz.part-aa
+Source2: maven.tgz.part-ab
+Source3: maven.tgz.part-ac
BuildRequires: maven
BuildArch: noarch
@@ -18,9 +19,9 @@ and then compile native code to native binary.
%prep
%setup -q -n %{name}
-cat %{SOURCE1} %{SOURCE2} > %{_builddir}/maven-repo.tgz
-mkdir -p %{_builddir}/.m2/repository
-tar -zxf %{_builddir}/maven-repo.tgz -C %{_builddir}/.m2/repository
+cat %{SOURCE1} %{SOURCE2} %{SOURCE3} > %{_builddir}/maven-repo.tgz
+mkdir -p %{_builddir}/.m2
+tar -xzf %{_builddir}/maven-repo.tgz -C %{_builddir}/.m2
%build
cat > %{_builddir}/settings.xml << EOF