Recommend java-devel instead of requiring it

This commit is contained in:
Mikolaj Izdebski 2015-07-10 14:31:23 +02:00
parent ac06af377d
commit 232a5a1d4b

View File

@ -36,7 +36,7 @@
Name: ant
Version: 1.9.6
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 0
Summary: Java build tool
Summary(it): Tool per la compilazione di programmi java
@ -59,8 +59,10 @@ BuildRequires: xalan-j2
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
Requires: jpackage-utils >= 0:1.7.5
Requires: java-devel >= 1:1.8.0
# Theoretically Ant might be usable with just JRE, but typical Ant
# workflow requires full JDK, so we recommend it here.
Recommends: java-devel >= 1:1.8.0
Requires: xerces-j2
Requires: xml-commons-apis
@ -596,6 +598,9 @@ cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
# -----------------------------------------------------------------------------
%changelog
* Fri Jul 10 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.9.6-2
- Recommend java-devel instead of requiring it
* Thu Jul 02 2015 Michael Simacek <msimacek@redhat.com> - 0:1.9.6-1
- Update to upstream version 1.9.6