packages: javassist/javassist.spec - up to 3.11.0 - per distro jdk bconds -...

pawelz pawelz at pld-linux.org
Tue Sep 22 00:54:15 CEST 2009


Author: pawelz                       Date: Mon Sep 21 22:54:15 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 3.11.0
- per distro jdk bconds
- some BRs from template-specs/java.spec

---- Files affected:
packages/javassist:
   javassist.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/javassist/javassist.spec
diff -u packages/javassist/javassist.spec:1.3 packages/javassist/javassist.spec:1.4
--- packages/javassist/javassist.spec:1.3	Fri May  9 14:18:31 2008
+++ packages/javassist/javassist.spec	Tue Sep 22 00:54:10 2009
@@ -1,17 +1,27 @@
 # $Revision$, $Date$
+
+%if "%{pld_release}" == "ti"
+%bcond_without	java_sun	# build with gcj
+%else
+%bcond_with	java_sun	# build with java-sun
+%endif
+
 %include	/usr/lib/rpm/macros.java
 Summary:	Java Programming Assistant: bytecode manipulation
 Summary(pl.UTF-8):	Asystent programisty Javy: operacje na bajtkodzie
 Name:		javassist
-Version:	3.5
+Version:	3.11.0
 Release:	1
 License:	MPL and LGPL
 Group:		Development/Languages/Java
-Source0:	http://repository.jboss.com/javassist/3.5.0.CR1-brew/src/%{name}-%{version}.CR1-src.tar.gz
-# Source0-md5:	59d0c8858062b6ba6d738a1f41959d8b
+Source0:	http://downloads.sourceforge.net/project/jboss/Javassist/3.11.0.GA/javassist-3.11.GA.zip
+# Source0-md5:	3afecb69a0c167a978c93f7074a74dfc
 URL:		http://www.csg.is.titech.ac.jp/~chiba/javassist/
 BuildRequires:	ant >= 0:1.6
+%{!?with_java_sun:BuildRequires:	java-gcj-compat-devel}
+%{?with_java_sun:BuildRequires:	java-sun}
 BuildRequires:	jpackage-utils >= 0:1.6
+BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpm-javaprov
 BuildRequires:	rpmbuild(macros) >= 1.300
 BuildArch:	noarch
@@ -83,7 +93,7 @@
 Podręcznik do Javassista.
 
 %prep
-%setup -q -n %{name}-%{version}.CR1-src
+%setup -q
 find -name '*.jar' | xargs rm -vf
 
 %build
@@ -136,6 +146,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/09/21 22:54:10  pawelz
+- up to 3.11.0
+- per distro jdk bconds
+- some BRs from template-specs/java.spec
+
 Revision 1.3  2008/05/09 12:18:31  jajcus
 - Release: 1
 - %doc handling fixed (previously the /usr/share/doc/%{name}-%{version} directory was not packaged)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/javassist/javassist.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list