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 Summary: JDBC driver for PostgreSQL
Name: postgresql-jdbc Name: postgresql-jdbc
Version: 9.0.801 Version: 9.0.801
Release: 3%{?dist} Release: 4%{?dist}
# ASL 2.0 applies only to postgresql-jdbc.pom file, the rest is BSD # ASL 2.0 applies only to postgresql-jdbc.pom file, the rest is BSD
License: BSD and ASL 2.0 License: BSD and ASL 2.0
Group: Applications/Databases Group: Applications/Databases
@ -51,10 +51,11 @@ Source1: postgresql-jdbc.pom
%if ! %{gcj_support} %if ! %{gcj_support}
BuildArch: noarch BuildArch: noarch
%endif %endif
BuildRequires: jpackage-utils >= 0:1.5 BuildRequires: java-devel
BuildRequires: ant >= 0:1.6.2 BuildRequires: jpackage-utils
BuildRequires: ant-junit >= 0:1.6.2 BuildRequires: ant
BuildRequires: junit >= 0:3.7 BuildRequires: ant-junit
BuildRequires: junit
BuildRequires: findutils BuildRequires: findutils
# gettext is only needed if we try to update translations # gettext is only needed if we try to update translations
#BuildRequires: gettext #BuildRequires: gettext
@ -63,8 +64,10 @@ BuildRequires: java-gcj-compat-devel >= 1.0.31
Requires(post): java-gcj-compat >= 1.0.31 Requires(post): java-gcj-compat >= 1.0.31
Requires(postun): java-gcj-compat >= 1.0.31 Requires(postun): java-gcj-compat >= 1.0.31
%endif %endif
Requires(post): jpackage-utils >= 0:1.7.2 Requires: java
Requires(postun): jpackage-utils >= 0:1.7.2 Requires(post): jpackage-utils
Requires(postun): jpackage-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Obsoletes: rh-postgresql-jdbc Obsoletes: rh-postgresql-jdbc
@ -154,6 +157,11 @@ rm -rf $RPM_BUILD_ROOT
%{_mavenpomdir}/JPP-%{name}.pom %{_mavenpomdir}/JPP-%{name}.pom
%changelog %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 * 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 - Switch to non-GCJ build, since GCJ is now deprecated in Fedora
Resolves: #722247 Resolves: #722247