This commit is contained in:
parent
8feb019947
commit
c554e1b712
@ -20,7 +20,7 @@
|
||||
%bcond_without oro
|
||||
%bcond_without sftp
|
||||
%bcond_without vfs
|
||||
%bcond_with pack200
|
||||
%bcond_without pack200
|
||||
Name: apache-ivy
|
||||
Version: 2.5.2
|
||||
Release: 0
|
||||
@ -41,13 +41,13 @@ BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: jsch
|
||||
BuildRequires: oro
|
||||
BuildRequires: strip-nondeterminism
|
||||
Provides: ivy = %{version}-%{release}
|
||||
Obsoletes: ivy < %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%if %{with pack200}
|
||||
BuildRequires: pack200
|
||||
%else
|
||||
BuildRequires: strip-nondeterminism
|
||||
BuildConflicts: java >= 14
|
||||
BuildConflicts: java-devel >= 14
|
||||
BuildConflicts: java-headless >= 14
|
||||
@ -188,9 +188,9 @@ echo "ivy" > %{buildroot}%{_sysconfdir}/ant.d/%{name}
|
||||
# Man page
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
install %{SOURCE1} %{buildroot}%{_mandir}/man1/ivy.1
|
||||
%if %{without pack200}
|
||||
strip-nondeterminism %{buildroot}%{_javadocdir}/%{name}/*.zip
|
||||
%endif
|
||||
if [ -f %{buildroot}%{_javadocdir}/%{name}/*.zip ]; then
|
||||
strip-nondeterminism %{buildroot}%{_javadocdir}/%{name}/*.zip
|
||||
fi
|
||||
|
||||
%files -f .mfiles
|
||||
%license LICENSE NOTICE
|
||||
|
Loading…
x
Reference in New Issue
Block a user