[postgresql-jdbc/f17] Don't BuildRequire JDK6 anymore, JDK7 should work.

Tom Lane tgl at fedoraproject.org
Thu Feb 23 18:34:17 UTC 2012


commit 460071f115fbf7dbd90a88e42cc194416a45c228
Author: Tom Lane <tgl at redhat.com>
Date:   Thu Feb 23 13:12:13 2012 -0500

    Don't BuildRequire JDK6 anymore, JDK7 should work.

 postgresql-jdbc.spec |   11 ++++++++---
 1 files 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 <tgl at redhat.com> 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 <rel-eng at lists.fedoraproject.org> - 9.1.901-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list