From 971b26c5ce0c62555e610b27cd42edbcdea2915b2102417bd1482ac62bbfadcc Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 10 Mar 2022 09:18:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/plexus-languages?expand=0&rev=12 --- _service | 15 +++++++++++++++ generate-tarball.sh | 26 -------------------------- plexus-java-build.xml | 2 +- plexus-languages-1.0.3.tar.xz | 3 --- plexus-languages-1.0.7.tar.xz | 3 +++ plexus-languages.spec | 8 +++----- 6 files changed, 22 insertions(+), 35 deletions(-) create mode 100644 _service delete mode 100644 generate-tarball.sh delete mode 100644 plexus-languages-1.0.3.tar.xz create mode 100644 plexus-languages-1.0.7.tar.xz diff --git a/_service b/_service new file mode 100644 index 0000000..862f33e --- /dev/null +++ b/_service @@ -0,0 +1,15 @@ + + + git + https://github.com/codehaus-plexus/plexus-languages.git + plexus-languages-1.0.7 + plexus-languages-* + @PARENT_TAG@ + plexus-languages-(.*) + + + *.tar + xz + + + diff --git a/generate-tarball.sh b/generate-tarball.sh deleted file mode 100644 index 00acaa3..0000000 --- a/generate-tarball.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -set -e - -name=plexus-languages -version="$(sed -n 's/Version:\s*//p' *.spec)" -pkgdir=`cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd` - -tmpdir=`mktemp -d` -echo $tmpdir -trap 'rm -r "$tmpdir"' EXIT -pushd "$tmpdir" >/dev/null - -# RETRIEVE -wget "https://github.com/codehaus-plexus/plexus-languages/archive/plexus-languages-${version}.tar.gz" -O "${name}-${version}.orig.tar.gz" - -treeroot="$tmpdir/tree" -mkdir "$tmpdir/tree" -pushd "$treeroot" >/dev/null - -tar xf "../${name}-${version}.orig.tar.gz" - -# CLEAN TARBALL -find -name '*.jar' -delete -find -name '*.class' -delete - -tar cJf "$pkgdir/${name}-${version}.tar.xz" * diff --git a/plexus-java-build.xml b/plexus-java-build.xml index 3e178ae..98f3599 100644 --- a/plexus-java-build.xml +++ b/plexus-java-build.xml @@ -10,7 +10,7 @@ - + diff --git a/plexus-languages-1.0.3.tar.xz b/plexus-languages-1.0.3.tar.xz deleted file mode 100644 index c159fde..0000000 --- a/plexus-languages-1.0.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:300bd9b38fdc7ac44ef0c2e4d2ffb75a80878486736785967610e74def6eebba -size 23440 diff --git a/plexus-languages-1.0.7.tar.xz b/plexus-languages-1.0.7.tar.xz new file mode 100644 index 0000000..a6e9bb7 --- /dev/null +++ b/plexus-languages-1.0.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76a9a93670b7841f762b2de3ba5be007b89fac44bc4b8cf4356267f6f5773d4b +size 430540 diff --git a/plexus-languages.spec b/plexus-languages.spec index a2dd8a3..1da5956 100644 --- a/plexus-languages.spec +++ b/plexus-languages.spec @@ -1,7 +1,7 @@ # # spec file for package plexus-languages # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: plexus-languages -Version: 1.0.3 +Version: 1.0.7 Release: 0 Summary: Plexus Languages License: Apache-2.0 @@ -26,8 +26,6 @@ URL: https://github.com/codehaus-plexus/plexus-languages # ./generate-tarball.sh Source0: %{name}-%{version}.tar.xz Source1: http://www.apache.org/licenses/LICENSE-2.0.txt -# Sources contain bundled jars that we cannot verify for licensing -Source2: generate-tarball.sh Source100: plexus-java-build.xml BuildRequires: ant BuildRequires: atinject @@ -55,7 +53,7 @@ Group: Documentation/HTML API documentation for %{name}. %prep -%setup -q -n %{name}-%{name}-%{version} +%setup -q cp %{SOURCE1} . cp %{SOURCE100} plexus-java/build.xml