summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--UNT.spec11
-rw-r--r--sources5
3 files changed, 9 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index 2bfeada..c0f788e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
/maven.tgz.part-aa
/maven.tgz.part-ab
/maven.tgz.part-ac
+/maven.tgz.part.aa
+/maven.tgz.part.ab
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
diff --git a/sources b/sources
index b2789d3..de11378 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,3 @@
ae82067e24fbd0530f4ae8f9f4d4fc02 UNT-v1.0.tar.gz
-b273129bd4a5190980e6fe21e131dcbe maven.tgz.part-aa
-93db41876d5f2d39a2bab2b990a309ff maven.tgz.part-ab
-4e502ce3290e20a3811c42bb93f48995 maven.tgz.part-ac
+cd7bfb6fcf2b0f02945fc00485c820a0 maven.tgz.part.aa
+caf8842b0e2c4e29490cff8a8cf24e79 maven.tgz.part.ab