Add BuildRequires: java-devel

This commit is contained in:
Tom Lane 2011-08-15 16:08:21 -04:00
parent e78c1f7e98
commit ed5b7d600a

View File

@ -38,7 +38,7 @@
Summary: JDBC driver for PostgreSQL
Name: postgresql-jdbc
Version: 9.0.801
Release: 3%{?dist}
Release: 4%{?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,10 +51,11 @@ Source1: postgresql-jdbc.pom
%if ! %{gcj_support}
BuildArch: noarch
%endif
BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: ant >= 0:1.6.2
BuildRequires: ant-junit >= 0:1.6.2
BuildRequires: junit >= 0:3.7
BuildRequires: java-devel
BuildRequires: jpackage-utils
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: junit
BuildRequires: findutils
# gettext is only needed if we try to update translations
#BuildRequires: gettext
@ -63,8 +64,10 @@ BuildRequires: java-gcj-compat-devel >= 1.0.31
Requires(post): java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31
%endif
Requires(post): jpackage-utils >= 0:1.7.2
Requires(postun): jpackage-utils >= 0:1.7.2
Requires: java
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Obsoletes: rh-postgresql-jdbc
@ -154,6 +157,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mavenpomdir}/JPP-%{name}.pom
%changelog
* Mon Aug 15 2011 Tom Lane <tgl@redhat.com> 9.0.801-4
- Add BuildRequires: java-devel to ensure recent JDK is brought in
Related: #730588
- Remove long-obsolete minimum versions from BuildRequires
* Sun Jul 17 2011 Tom Lane <tgl@redhat.com> 9.0.801-3
- Switch to non-GCJ build, since GCJ is now deprecated in Fedora
Resolves: #722247