[postgresql-jdbc] Switch to non-GCJ build

Tom Lane tgl at fedoraproject.org
Sun Jul 17 20:37:42 UTC 2011


commit 6591277db9f7c989cbb64fe6059f408bd4aeb247
Author: Tom Lane <tgl at redhat.com>
Date:   Sun Jul 17 16:36:19 2011 -0400

    Switch to non-GCJ build

 postgresql-jdbc.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/postgresql-jdbc.spec b/postgresql-jdbc.spec
index f22346b..9bdb4fc 100644
--- a/postgresql-jdbc.spec
+++ b/postgresql-jdbc.spec
@@ -28,7 +28,7 @@
 # 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}}}
 
@@ -38,7 +38,7 @@
 Summary:	JDBC driver for PostgreSQL
 Name:		postgresql-jdbc
 Version:	9.0.801
-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
@@ -150,10 +150,15 @@ rm -rf $RPM_BUILD_ROOT
 %if %{gcj_support}
 %attr(-,root,root) %{_libdir}/gcj/%{name}
 %endif
-%{_sysconfdir}/maven/fragments/%{name}
-%{_datadir}/maven2/poms/JPP-%{name}.pom
+%{_mavendepmapfragdir}/%{name}
+%{_mavenpomdir}/JPP-%{name}.pom
 
 %changelog
+* Sun Jul 17 2011 Tom Lane <tgl at 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 at lists.fedoraproject.org> - 9.0.801-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list