This commit is contained in:
parent
4da8fabfd1
commit
971b26c5ce
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/codehaus-plexus/plexus-languages.git</param>
|
||||
<param name="revision">plexus-languages-1.0.7</param>
|
||||
<param name="match-tag">plexus-languages-*</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">plexus-languages-(.*)</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
@ -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" *
|
@ -10,7 +10,7 @@
|
||||
|
||||
<property name="project.groupId" value="org.codehaus.plexus"/>
|
||||
<property name="project.artifactId" value="plexus-java"/>
|
||||
<property name="project.version" value="1.0.3"/>
|
||||
<property name="project.version" value="1.0.7"/>
|
||||
|
||||
<property name="compiler.source" value="1.7"/>
|
||||
<property name="compiler.target" value="${compiler.source}"/>
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:300bd9b38fdc7ac44ef0c2e4d2ffb75a80878486736785967610e74def6eebba
|
||||
size 23440
|
3
plexus-languages-1.0.7.tar.xz
Normal file
3
plexus-languages-1.0.7.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76a9a93670b7841f762b2de3ba5be007b89fac44bc4b8cf4356267f6f5773d4b
|
||||
size 430540
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user