From 3cf7d7452d105e712aa4d49694cdc61e9bbda816 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 23 Feb 2012 13:12:13 -0500 Subject: [PATCH] Don't BuildRequire JDK6 anymore, JDK7 should work. --- postgresql-jdbc.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/postgresql-jdbc.spec b/postgresql-jdbc.spec index f34414f..e48c3b0 100644 --- a/postgresql-jdbc.spec +++ b/postgresql-jdbc.spec @@ -38,7 +38,7 @@ Summary: JDBC driver for PostgreSQL Name: postgresql-jdbc Version: 9.1.901 -Release: 2%{?dist} +Release: 3%{?dist} # ASL 2.0 applies only to postgresql-jdbc.pom file, the rest is BSD License: BSD and ASL 2.0 Group: Applications/Databases @@ -51,8 +51,7 @@ Source1: postgresql-jdbc.pom %if ! %{gcj_support} BuildArch: noarch %endif -# We require Java 1.6 because we support JDBC 4.0, not 4.1 -BuildRequires: java-1.6.0-openjdk-devel +BuildRequires: java-devel BuildRequires: jpackage-utils BuildRequires: ant BuildRequires: ant-junit @@ -158,6 +157,12 @@ rm -rf $RPM_BUILD_ROOT %{_mavenpomdir}/JPP-%{name}.pom %changelog +* Thu Feb 23 2012 Tom Lane 9.1.901-3 +- Change BuildRequires: java-1.6.0-openjdk-devel to just java-devel. + As of 9.1-901, upstream has support for JDBC4.1, so we don't have to + restrict to JDK6 anymore, and Fedora is moving to JDK7 +Resolves: #796580 + * Sat Jan 14 2012 Fedora Release Engineering - 9.1.901-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild