Fridrich Strba 2024-10-07 23:00:40 +00:00 committed by Git OBS Bridge
parent 1fa8cb3a0a
commit 125d8597d2

View File

@ -20,7 +20,7 @@
%bcond_without oro
%bcond_without sftp
%bcond_without vfs
%bcond_with pack200
%bcond_with pack200
Name: apache-ivy
Version: 2.5.2
Release: 0
@ -47,9 +47,9 @@ BuildArch: noarch
%if %{with pack200}
BuildRequires: pack200
%else
BuildConflicts: java >= 14
BuildConflicts: java-devel >= 14
BuildConflicts: java-headless >= 14
BuildConflicts: java >= 9
BuildConflicts: java-devel >= 9
BuildConflicts: java-headless >= 9
%endif
%if %{with vfs}
BuildRequires: apache-commons-vfs2
@ -159,7 +159,7 @@ export CLASSPATH=${CLASSPATH}:$(build-classpath pack200)
%endif
# Build
%{ant} -v -Dtarget.ivy.version=%{version} -Dbundle.version=%{version} /localivy /offline jar javadoc
ant -v -Dtarget.ivy.version=%{version} -Dbundle.version=%{version} /localivy /offline jar javadoc
%install
# Code