auto-import changelog data from junit-3.8.1-5.src.rpm
Tue Jun 01 2004 Gary Benson <gbenson@redhat.com> 3.8.1-5 - Build with katana. - Include the AWT runner and some more documentation.
This commit is contained in:
parent
85c3ab9d38
commit
cd87dfa528
@ -1,2 +1 @@
|
|||||||
junit3.8.1.zip
|
junit3.8.1.zip
|
||||||
rhug-junit-20031215.tar.bz2
|
|
||||||
|
63
junit.spec
63
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
|
Summary: Regression testing framework for Java
|
||||||
Name: junit
|
Name: junit
|
||||||
Version: 3.8.1
|
Version: 3.8.1
|
||||||
Release: 4
|
Release: 5
|
||||||
URL: http://www.junit.org/
|
URL: http://www.junit.org/
|
||||||
Source: rhug-%{name}-%{rhugversion}.tar.bz2
|
Source: %{name}%{version}.zip
|
||||||
Source1: %{name}%{version}.zip
|
Source1: katana.omissions
|
||||||
Source2: build-srcdir.sh
|
|
||||||
Patch1: %{name}-rhjpp.patch
|
|
||||||
Patch2: %{name}-exitstatus.patch
|
|
||||||
Patch3: %{name}-classloader.patch
|
Patch3: %{name}-classloader.patch
|
||||||
|
Patch4: %{name}-build.patch
|
||||||
License: IBM Common Public License
|
License: IBM Common Public License
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildPrereq: gcc34-c++
|
BuildPrereq: katana-build
|
||||||
BuildPrereq: gcc34-java >= 3.4.0-1
|
BuildPrereq: bootstrap-ant
|
||||||
Prereq: redhat-java-rpm-scripts >= 1.0.2-2
|
Prereq: katana
|
||||||
Requires: libgcj34 >= 3.4.0-1
|
Requires: libgcj >= 3.4.0
|
||||||
|
ExcludeArch: ppc64 ia64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
JUnit is a regression testing framework used to implement unit tests
|
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.
|
Cygnus Native Interface (CNI) extensions that use JUnit.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -a 1
|
%setup -q -n %{name}%{version}
|
||||||
mv %{rhugsource1} && %{rhugprep1}
|
jar xf src.jar && rm -Rf META-INF
|
||||||
%patch1 -p0 -b .rhjpp
|
|
||||||
%patch2 -p1 -b .exitstatus
|
|
||||||
%patch3 -p1 -b .classloader
|
%patch3 -p1 -b .classloader
|
||||||
mv ChangeLog ChangeLog.rhug
|
%patch4 -p0 -b .build
|
||||||
mv TODO TODO.rhug
|
katana prep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CC=gcc34 CXX=g++34 GCJ=gcj34 GCJH=gcjh34 \
|
bootstrap-ant
|
||||||
./configure \
|
|
||||||
--disable-static \
|
mv %{name}%{version}/%{name}.jar katana/%{name}-%{version}.jar
|
||||||
--prefix=%{_prefix} \
|
ln -s %{name}-%{version}.jar \
|
||||||
--libdir=%{_libdir}
|
katana/lib-%{name}.so_%{name}-%{version}.jar
|
||||||
make
|
katana build
|
||||||
make check
|
|
||||||
|
mv junit katana
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
katana install
|
||||||
%makeinstall
|
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
|
||||||
find ${RPM_BUILD_ROOT}%{_libdir} -type l | xargs rm -f
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_sbindir}/javaconfig \
|
%{_sbindir}/javaconfig \
|
||||||
@ -70,19 +60,24 @@ find ${RPM_BUILD_ROOT}%{_libdir} -type l | xargs rm -f
|
|||||||
%{_datadir}/java/junit.jar
|
%{_datadir}/java/junit.jar
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
katana clean
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc *.rhug upstream/*.html
|
%doc *.html doc javadoc
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_datadir}/java/*.jar
|
%{_datadir}/java/*.jar
|
||||||
|
%{_datadir}/katana/*.cp
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/junit
|
%{_includedir}/junit
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 1 2004 Gary Benson <gbenson@redhat.com> 3.8.1-5
|
||||||
|
- Build with katana.
|
||||||
|
- Include the AWT runner and some more documentation.
|
||||||
|
|
||||||
* Tue May 4 2004 Gary Benson <gbenson@redhat.com> 3.8.1-4
|
* Tue May 4 2004 Gary Benson <gbenson@redhat.com> 3.8.1-4
|
||||||
- Rebuild with new compiler.
|
- Rebuild with new compiler.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user