From 443e467d58c190acc29997328d59fa2bc365e6cd Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 23 Apr 2014 16:30:03 +0200 Subject: [PATCH] Add explicit requires on java-headless --- postgresql-jdbc.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/postgresql-jdbc.spec b/postgresql-jdbc.spec index aa2ad29..b7f066d 100644 --- a/postgresql-jdbc.spec +++ b/postgresql-jdbc.spec @@ -34,7 +34,7 @@ Summary: JDBC driver for PostgreSQL Name: postgresql-jdbc Version: 9.3.1101 -Release: 1%{?dist} +Release: 2%{?dist} # ASL 2.0 applies only to postgresql-jdbc.pom file, the rest is BSD License: BSD and ASL 2.0 Group: Applications/Databases @@ -45,7 +45,7 @@ Source0: http://jdbc.postgresql.org/download/%{name}-%{upstreamver}.src.tar.gz Source1: %{name}.pom BuildArch: noarch -BuildRequires: java-devel +BuildRequires: java-devel >= 1:1.8 BuildRequires: jpackage-utils BuildRequires: ant BuildRequires: ant-junit @@ -53,6 +53,7 @@ BuildRequires: junit # gettext is only needed if we try to update translations #BuildRequires: gettext Requires: jpackage-utils +Requires: java-headless >= 1:1.8 %description PostgreSQL is an advanced Object-Relational database management @@ -123,6 +124,9 @@ install -d build/publicapi docs/%{name} %doc %{_javadocdir}/%{name} %changelog +* Wed Apr 23 2014 Mikolaj Izdebski - 9.3.1101-2 +- Add explicit requires on java-headless + * Wed Apr 23 2014 Pavel Raiskup - 9.3.1101-1 - Rebase to most recent version (#1090366)