[RPM (6.0)] [DIST generic] janino25-2.5.11-4.jpp6

Ralph Apel <[email protected]> Wed, 6 Feb 2013 18:38:53 +0100
Newsgroups gmane.linux.jpackage.announce
Message-ID <[email protected]>
Name        : janino25                     Relocations: (not relocatable)
Version     : 2.5.11                            Vendor: JPackage Project
Release     : 4.jpp6                        Build Date: Wed 06 Feb 2013 06:35:33 PM CET
Install Date: (not installed)               Build Host: linux.fritz.box
Group       : Development/Libraries/Java    Source RPM: (none)
Size        : 1706676                          License: BSD
Signature   : (none)
Packager    : Ralph Apel <[email protected]>
URL         : http://www.janino.net/
Summary     : Embedded Java Compiler
Description :
Janino is a compiler that reads a JavaTM expression, block,
class body, source file or a set of source files, and
generates JavaTM bytecode that is loaded and executed
directly. Janino is not intended to be a development tool,
but an embedded compiler for run-time compilation purposes,
e.g. expression evaluators or "server pages" engines like JSP.
JANINO is integrated with Apache Commons JCI ("Java Compiler
Interface") and JBoss Rules / Drools.
JANINO can also be used for static code analysis.

---------------
Ralph Apel <[email protected]> 0:2.5.11-4
- Prevent xzpayload problem
- Drop gcj support
---------------
janino25.src: W: source-or-patch-not-bzipped janino-build_xml.patch
janino25.src: W: no-signature
1 packages and 0 specfiles checked; 0 errors, 2 warnings.

---------------
Index: janino25.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/janino25/janino25.spec,v
retrieving revision 1.1
diff -u -r1.1 janino25.spec
--- janino25.spec	30 Jan 2013 21:58:23 -0000	1.1
+++ janino25.spec	6 Feb 2013 17:38:52 -0000
@@ -28,14 +28,16 @@
 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
 
-%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 free
 %define oname janino
+%define _binary_payload w9.gzdio
+%define _source_payload w9.gzdio
+%define _binary_filedigest_algorithm 1
+%define _source_filedigest_algorithm 1
 
 Name:           janino25
 Version:        2.5.11
-Release:        3%{?dist}
+Release:        4%{?dist}
 Epoch:          0
 Summary:        Embedded Java Compiler
 License:        BSD
@@ -44,18 +46,15 @@
 Source0:        http://www.janino.net/download/janino-2.5.11.zip
 Source1:        janino-2.5.11.pom
 Patch0:         janino-build_xml.patch
-BuildRequires:  ant
 BuildRequires:  jpackage-utils >= 0:1.7.5
-%if ! %{gcj_support}
+BuildRequires:  java-devel >= 0:1.6.0
+BuildRequires:  ant
 BuildArch:      noarch
-%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
-Requires(post): jpackage-utils >= 0:1.7.2
-Requires(postun): jpackage-utils >= 0:1.7.2
-%if %{gcj_support}
-BuildRequires:    java-gcj-compat-devel
-%endif
+Requires:       java >= 0:1.6.0
+Requires(post): jpackage-utils >= 0:1.7.5
+Requires(postun): jpackage-utils >= 0:1.7.5
 
 %description
 Janino is a compiler that reads a JavaTM expression, block,
@@ -119,40 +118,20 @@
 cp -pr build/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 (cd $RPM_BUILD_ROOT%{_javadocdir} && ln -sf %{name}-%{version} %{name})
 
-%if %{gcj_support}
-%{_bindir}/aot-compile-rpm
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %postun
 %update_maven_depmap
-%if %{gcj_support}
-if [ -x %{_bindir}/rebuild-gcj-db ]
-then
-  %{_bindir}/rebuild-gcj-db
-fi
-%endif
 
 %files
 %defattr(0644,root,root,0755)
 %{_javadir}/*.jar
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}/*
-%if %{gcj_support}
-%dir %{_libdir}/gcj/%{name}
-%attr(-,root,root) %{_libdir}/gcj/%{name}/*
-%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)
@@ -160,6 +139,10 @@
 %{_javadocdir}/%{name}
 
 %changelog
+* Wed Feb 06 2013 Ralph Apel <[email protected]> 0:2.5.11-4
+- Prevent xzpayload problem
+- Drop gcj support
+
 * Wed Jan 30 2013 Ralph Apel <[email protected]> 0:2.5.11-3
 - refloat as janino25