From cd87dfa5283758e56167db9db059374b236dd1cc Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 06:38:10 +0000 Subject: [PATCH] auto-import changelog data from junit-3.8.1-5.src.rpm Tue Jun 01 2004 Gary Benson 3.8.1-5 - Build with katana. - Include the AWT runner and some more documentation. --- .cvsignore | 1 - junit.spec | 63 +++++++++++++++++++++++++----------------------------- sources | 1 - 3 files changed, 29 insertions(+), 36 deletions(-) diff --git a/.cvsignore b/.cvsignore index 541fa6f..e99bc83 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ junit3.8.1.zip -rhug-junit-20031215.tar.bz2 diff --git a/junit.spec b/junit.spec index 95d5032..c2512bc 100644 --- a/junit.spec +++ b/junit.spec @@ -1,26 +1,20 @@ -%define rhugversion 20031215 -%define rhugsource1 %{name}%{version} upstream -%define rhugprep1 sh %{SOURCE2} %{name}%{version} -%define rhugpatches 2 3 - Summary: Regression testing framework for Java Name: junit Version: 3.8.1 -Release: 4 +Release: 5 URL: http://www.junit.org/ -Source: rhug-%{name}-%{rhugversion}.tar.bz2 -Source1: %{name}%{version}.zip -Source2: build-srcdir.sh -Patch1: %{name}-rhjpp.patch -Patch2: %{name}-exitstatus.patch +Source: %{name}%{version}.zip +Source1: katana.omissions Patch3: %{name}-classloader.patch +Patch4: %{name}-build.patch License: IBM Common Public License Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildPrereq: gcc34-c++ -BuildPrereq: gcc34-java >= 3.4.0-1 -Prereq: redhat-java-rpm-scripts >= 1.0.2-2 -Requires: libgcj34 >= 3.4.0-1 +BuildPrereq: katana-build +BuildPrereq: bootstrap-ant +Prereq: katana +Requires: libgcj >= 3.4.0 +ExcludeArch: ppc64 ia64 %description JUnit is a regression testing framework used to implement unit tests @@ -36,28 +30,24 @@ The junit-devel package contains the headers required to develop Cygnus Native Interface (CNI) extensions that use JUnit. %prep -%setup -q -a 1 -mv %{rhugsource1} && %{rhugprep1} -%patch1 -p0 -b .rhjpp -%patch2 -p1 -b .exitstatus +%setup -q -n %{name}%{version} +jar xf src.jar && rm -Rf META-INF %patch3 -p1 -b .classloader -mv ChangeLog ChangeLog.rhug -mv TODO TODO.rhug +%patch4 -p0 -b .build +katana prep %build -CC=gcc34 CXX=g++34 GCJ=gcj34 GCJH=gcjh34 \ -./configure \ - --disable-static \ - --prefix=%{_prefix} \ - --libdir=%{_libdir} -make -make check +bootstrap-ant + +mv %{name}%{version}/%{name}.jar katana/%{name}-%{version}.jar +ln -s %{name}-%{version}.jar \ + katana/lib-%{name}.so_%{name}-%{version}.jar +katana build + +mv junit katana %install -rm -rf ${RPM_BUILD_ROOT} -%makeinstall -rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la -find ${RPM_BUILD_ROOT}%{_libdir} -type l | xargs rm -f +katana install %post %{_sbindir}/javaconfig \ @@ -70,19 +60,24 @@ find ${RPM_BUILD_ROOT}%{_libdir} -type l | xargs rm -f %{_datadir}/java/junit.jar %clean -rm -rf $RPM_BUILD_ROOT +katana clean %files %defattr(-,root,root) -%doc *.rhug upstream/*.html +%doc *.html doc javadoc %{_libdir}/*.so %{_datadir}/java/*.jar +%{_datadir}/katana/*.cp %files devel %defattr(-,root,root) %{_includedir}/junit %changelog +* Tue Jun 1 2004 Gary Benson 3.8.1-5 +- Build with katana. +- Include the AWT runner and some more documentation. + * Tue May 4 2004 Gary Benson 3.8.1-4 - Rebuild with new compiler. diff --git a/sources b/sources index 85b7f16..92e383f 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ 5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip -f840c6fbc11ef83933769b30542e41f8 rhug-junit-20031215.tar.bz2