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