From 56468f762a61e0294731fb6feb2ee157e4a0201b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 12 Sep 2025 03:12:57 +0000 Subject: automatic import of UNT --- .gitignore | 3 +++ UNT.spec | 19 ++++++++++--------- sources | 4 +++- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 8793b1a..2bfeada 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,5 @@ /UNT-v1.0.tar.gz /maven-resources-plugin-2.6.jar +/maven.tgz.part-aa +/maven.tgz.part-ab +/maven.tgz.part-ac diff --git a/UNT.spec b/UNT.spec index ea5669c..044bbd9 100644 --- a/UNT.spec +++ b/UNT.spec @@ -5,7 +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-resources-plugin-2.6.jar +Source1: maven.tgz.part-aa +Source2: maven.tgz.part-ab +Source3: maven.tgz.part-ac BuildRequires: maven BuildArch: noarch @@ -17,18 +19,17 @@ 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 %build cat > %{_builddir}/settings.xml << EOF - - - custom-mirror - * - Custom Maven Repository Mirror - %{maven_mirror_url} - - + %{_builddir}/.m2/repository + + custom-repo + EOF mvn -s %{_builddir}/settings.xml package -DskipTests diff --git a/sources b/sources index 995d833..b2789d3 100644 --- a/sources +++ b/sources @@ -1,2 +1,4 @@ ae82067e24fbd0530f4ae8f9f4d4fc02 UNT-v1.0.tar.gz -e7cc4bbb6888e6c9dd5acdad08cf4bd3 maven-resources-plugin-2.6.jar +b273129bd4a5190980e6fe21e131dcbe maven.tgz.part-aa +93db41876d5f2d39a2bab2b990a309ff maven.tgz.part-ab +4e502ce3290e20a3811c42bb93f48995 maven.tgz.part-ac -- cgit v1.2.3