[jrefactory] - Drop gcj support.

Alexander Kurtakov akurtakov at fedoraproject.org
Wed Oct 6 10:44:05 UTC 2010


commit 9a4121ed157197721b5f1c0f8b8de1398324707c
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Wed Oct 6 13:43:39 2010 +0300

    - Drop gcj support.

 jrefactory.spec |   48 +++++++-----------------------------------------
 1 files changed, 7 insertions(+), 41 deletions(-)
---
diff --git a/jrefactory.spec b/jrefactory.spec
index a998dca..b693951 100644
--- a/jrefactory.spec
+++ b/jrefactory.spec
@@ -28,15 +28,9 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%define _with_gcj_support 1
-
-%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
-
-%define	section	devel
-
 Name:		jrefactory
 Version:	2.8.9
-Release:	9.7%{?dist}
+Release:	10%{?dist}
 Epoch:		0
 Summary:	JRefactory and Pretty Print
 License:	BSD and ASL 1.1 and GPL+
@@ -46,20 +40,12 @@ Patch0:	jrefactory-2.8.9-fixcrlf.patch
 Patch1: jrefactory-savejpg.patch
 Patch2: %{name}-%{version}-source14.patch
 
-Url:		http://jrefactory.sourceforge.net/
+URL:		http://jrefactory.sourceforge.net/
 BuildRequires:	ant
 BuildRequires:	jpackage-utils >= 0:1.5
-%if ! %{gcj_support}
 BuildArch:	noarch
-%endif
 BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
 
-%if %{gcj_support}
-BuildRequires:		java-gcj-compat-devel
-Requires(post):		java-gcj-compat
-Requires(postun):	java-gcj-compat
-%endif
-
 %description
 JRefactory provides a variety of refactoring and pretty printing tools
 
@@ -89,39 +75,18 @@ install -m 644 ant.build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{ve
 
 (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} ${jar/-%{version}/}; done)
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
-
-%postun
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
-
 %files
-%defattr(0664,root,root,0755)
+%defattr(-,root,root,-)
 %doc docs/{*.html,*.jpg,*.gif,*.txt} settings/sample
 %{_javadir}/*
 
-%if %{gcj_support}
-%attr(-,root,root) %{_libdir}/gcj/%{name}
-%endif
-
 %changelog
+* Wed Oct 6 2010 Alexander Kurtakov <akurtako at redhat.com> 0:2.8.9-10
+- Drop gcj support.
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:2.8.9-9.7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
@@ -173,3 +138,4 @@ fi
 
 * Mon Dec 15 2003 Paul Nasrat <pauln at truemesh.com> 0:2.6.40-1jpp
 - Initial Release
+


More information about the scm-commits mailing list