Tomáš Chvátal 2017-05-21 08:00:08 +00:00 committed by Git OBS Bridge
parent 74d52ecdbe
commit 75db069404
2 changed files with 11 additions and 12 deletions

View File

@ -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 Fri May 19 10:07:03 UTC 2017 - pcervinka@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package apache-ivy # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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: ant
BuildRequires: bouncycastle BuildRequires: bouncycastle
BuildRequires: commons-httpclient BuildRequires: commons-httpclient
BuildRequires: java-devel >= 1.5 BuildRequires: dos2unix
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: javapackages-tools BuildRequires: javapackages-tools
BuildRequires: jsch BuildRequires: jsch
BuildRequires: oro BuildRequires: oro
Requires: javapackages-tools Provides: ivy = %{version}
Provides: ivy = %{version}-%{release} Obsoletes: ivy < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%description %description
@ -59,17 +58,11 @@ JavaDoc documentation for %{name}
%setup -q %setup -q
# Fix messed-up encodings # Fix messed-up encodings
for F in README LICENSE NOTICE dos2unix 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
#TODO: return back when bouncycastle-pgp will be available #TODO: return back when bouncycastle-pgp will be available
rm -fr src/java/org/apache/ivy/plugins/signer/bouncycastle rm -fr src/java/org/apache/ivy/plugins/signer/bouncycastle
%build
# Remove prebuilt documentation # Remove prebuilt documentation
rm -rf doc build/doc 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 \ sed '/vfs.*=.*org.apache.ivy.plugins.resolver.VfsResolver/d' -i \
src/java/org/apache/ivy/core/settings/typedef.properties src/java/org/apache/ivy/core/settings/typedef.properties
%build
# Craft class path # Craft class path
mkdir -p lib mkdir -p lib
build-jar-repository lib ant ant/ant-nodeps oro jsch commons-httpclient build-jar-repository lib ant ant/ant-nodeps oro jsch commons-httpclient