diff options
Diffstat (limited to 'UNT.spec')
-rw-r--r-- | UNT.spec | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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.tar.part.aa +Source2: maven.tar.part.ab +Source3: maven.tar.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 +cat %{SOURCE1} %{SOURCE2} %{SOURCE3} > %{_builddir}/maven-repo.tar mkdir -p %{_builddir}/.m2/repository -tar -xf %{_builddir}/maven-repo.tgz -C %{_builddir}/.m2/repository +tar -xf %{_builddir}/maven-repo.tar -C %{_builddir}/.m2/repository %build cat > %{_builddir}/settings.xml << EOF |