diff --git a/ant.spec b/ant.spec index 7ca658c..408406b 100644 --- a/ant.spec +++ b/ant.spec @@ -36,7 +36,7 @@ Name: ant Version: 1.10.1 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 0 Summary: Java build tool Summary(it): Tool per la compilazione di programmi java @@ -62,7 +62,7 @@ BuildRequires: xz-java # 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 +%{?fedora:Recommends}%{!?fedora:Requires}: java-devel >= 1:1.8.0 Requires: xerces-j2 Requires: xml-commons-apis @@ -611,6 +611,9 @@ cp -pr build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ----------------------------------------------------------------------------- %changelog +* Thu Feb 16 2017 Mikolaj Izdebski - 0:1.10.1-2 +- Conditionalize weak dependencies + * Wed Feb 15 2017 Michael Simacek - 0:1.10.1-1 - Update to upstream version 1.10.1