Conditionalize weak dependencies

This commit is contained in:
Mikolaj Izdebski 2017-02-16 09:33:58 +01:00
parent b59b0b37b1
commit 584a6b3c0a

View File

@ -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 <mizdebsk@redhat.com> - 0:1.10.1-2
- Conditionalize weak dependencies
* Wed Feb 15 2017 Michael Simacek <msimacek@redhat.com> - 0:1.10.1-1
- Update to upstream version 1.10.1