[plexus-graph] - Drop gcj support.

Alexander Kurtakov akurtakov at fedoraproject.org
Wed Oct 6 09:36:12 UTC 2010


commit d2503a4fac1c112d4a00cdd6059146f328bb2cc3
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Wed Oct 6 12:33:50 2010 +0300

    - Drop gcj support.

 plexus-graph.spec |   37 +++++--------------------------------
 1 files changed, 5 insertions(+), 32 deletions(-)
---
diff --git a/plexus-graph.spec b/plexus-graph.spec
index 7a60e79..3338a1a 100644
--- a/plexus-graph.spec
+++ b/plexus-graph.spec
@@ -1,10 +1,8 @@
 # TODO: junit QA tests
 
-%define with_gcj %{!?_without_gcj:1}%{?_without_gcj:0}
-
 Name:           plexus-graph
 Version:        0.13.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Graph data structures manipulation library
 
 Group:          Development/Libraries
@@ -13,16 +11,10 @@ URL:            http://plexus.sourceforge.net/
 Source0:        http://download.sourceforge.net/plexus/plexus-src-%{version}.tgz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Requires:       log4j commons-collections java jpackage-utils
+Requires:       log4j apache-commons-collections java jpackage-utils
 BuildRequires:  %{requires} ant java-devel
 
-%if %{with_gcj}
-BuildRequires:    java-gcj-compat-devel >= 1.0.31
-Requires(post):   java-gcj-compat >= 1.0.31
-Requires(postun): java-gcj-compat >= 1.0.31
-%else
 BuildArch:      noarch
-%endif
 
 %description
 Plexus is a Java library with specifications and implementations for
@@ -60,25 +52,6 @@ install -m 644 build/dist/plexus-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{nam
 ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
 cp -rp doc/javadoc/. $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
-# GCJ AOT bits
-%if %{with_gcj}
-%{_bindir}/aot-compile-rpm
-%endif
-
-
-%post
-%if %{with_gcj}
-[ -x %{_bindir}/rebuild-gcj-db ] && %{_bindir}/rebuild-gcj-db
-%endif
-
-
-%postun
-%if %{with_gcj}
-[ -x %{_bindir}/rebuild-gcj-db ] && %{_bindir}/rebuild-gcj-db
-%endif
-
-
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -86,9 +59,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %{_javadir}/*
-%if %{with_gcj}
-%{_libdir}/gcj/%{name}
-%endif
 %doc CHANGELOG LICENSE README
 
 
@@ -98,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Oct 6 2010 Alexander Kurtakov <akurtako at redhat.com> 0.13.1-4
+- Drop gcj support.
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.13.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


More information about the scm-commits mailing list