Don't BuildRequire JDK6 anymore, JDK7 should work.

This commit is contained in:
Tom Lane 2012-02-23 13:12:13 -05:00
parent bd1314820f
commit 3cf7d7452d

View File

@ -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@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@lists.fedoraproject.org> - 9.1.901-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild