forked from pool/apache-ivy
- Reduce deps a bit
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-ivy?expand=0&rev=28
This commit is contained in:
parent
74d52ecdbe
commit
75db069404
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 21 08:01:08 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Reduce deps a bit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 10:07:03 UTC 2017 - pcervinka@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package apache-ivy
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -29,14 +29,13 @@ Source2: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.3.0/ivy-2.3.0
|
||||
BuildRequires: ant
|
||||
BuildRequires: bouncycastle
|
||||
BuildRequires: commons-httpclient
|
||||
BuildRequires: java-devel >= 1.5
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: jsch
|
||||
BuildRequires: oro
|
||||
Requires: javapackages-tools
|
||||
Provides: ivy = %{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: ivy = %{version}
|
||||
Obsoletes: ivy < %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -59,17 +58,11 @@ JavaDoc documentation for %{name}
|
||||
%setup -q
|
||||
|
||||
# Fix messed-up encodings
|
||||
for F in README LICENSE NOTICE
|
||||
do
|
||||
sed 's/\r//' $F |iconv -f iso8859-1 -t utf8 >$F.utf8
|
||||
touch -r $F $F.utf8
|
||||
mv $F.utf8 $F
|
||||
done
|
||||
dos2unix README LICENSE NOTICE
|
||||
|
||||
#TODO: return back when bouncycastle-pgp will be available
|
||||
rm -fr src/java/org/apache/ivy/plugins/signer/bouncycastle
|
||||
|
||||
%build
|
||||
# Remove prebuilt documentation
|
||||
rm -rf doc build/doc
|
||||
|
||||
@ -80,6 +73,7 @@ rm -rf src/java/org/apache/ivy/plugins/repository/vfs \
|
||||
sed '/vfs.*=.*org.apache.ivy.plugins.resolver.VfsResolver/d' -i \
|
||||
src/java/org/apache/ivy/core/settings/typedef.properties
|
||||
|
||||
%build
|
||||
# Craft class path
|
||||
mkdir -p lib
|
||||
build-jar-repository lib ant ant/ant-nodeps oro jsch commons-httpclient
|
||||
|
Loading…
Reference in New Issue
Block a user