Switch to non-GCJ build

This commit is contained in:
Tom Lane 2011-07-17 16:36:19 -04:00
parent a77d7d91f0
commit 6591277db9

View File

@ -28,7 +28,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# #
%global _gcj_support 1 %global _gcj_support 0
%global gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} %global gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
@ -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: 2%{?dist} Release: 3%{?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
@ -150,10 +150,15 @@ rm -rf $RPM_BUILD_ROOT
%if %{gcj_support} %if %{gcj_support}
%attr(-,root,root) %{_libdir}/gcj/%{name} %attr(-,root,root) %{_libdir}/gcj/%{name}
%endif %endif
%{_sysconfdir}/maven/fragments/%{name} %{_mavendepmapfragdir}/%{name}
%{_datadir}/maven2/poms/JPP-%{name}.pom %{_mavenpomdir}/JPP-%{name}.pom
%changelog %changelog
* 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
- Use %%{_mavendepmapfragdir} to fix FTBFS with maven 3
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.801-2 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.801-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild