rpms/java-1.6.0-openjdk/F-9 java-1.6.0-openjdk.spec,1.40,1.41

Thomas Fitzsimmons (fitzsim) fedora-extras-commits at redhat.com
Fri May 30 20:06:42 UTC 2008


Author: fitzsim

Update of /cvs/pkgs/rpms/java-1.6.0-openjdk/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28977

Modified Files:
	java-1.6.0-openjdk.spec 
Log Message:
* Fri May 30 2008 Thomas Fitzsimmons <fitzsim at redhat.com> - 1:1.6.0.0-0.15.b09
- Group all Mauve commands.

* Fri May 30 2008 Thomas Fitzsimmons <fitzsim at redhat.com> - 1:1.6.0.0-0.15.b09
- Formatting cleanups.
- Add jtreg_output to src subpackage.




Index: java-1.6.0-openjdk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/java-1.6.0-openjdk/F-9/java-1.6.0-openjdk.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- java-1.6.0-openjdk.spec	28 May 2008 15:19:46 -0000	1.40
+++ java-1.6.0-openjdk.spec	30 May 2008 20:05:45 -0000	1.41
@@ -43,7 +43,7 @@
 %else
 %define archbuild zero
 %define archinstall zero
-%endif 
+%endif
 %endif
 %endif
 %endif
@@ -111,7 +111,7 @@
 
 Name:    java-%{javaver}-%{origin}
 Version: %{javaver}.%{buildver}
-Release: 0.14.%{openjdkver}%{?dist}
+Release: 0.15.%{openjdkver}%{?dist}
 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
 # and this change was brought into RHEL-4.  java-1.5.0-ibm packages
 # also included the epoch in their virtual provides.  This created a
@@ -129,20 +129,19 @@
 URL:      http://icedtea.classpath.org/
 Source0:  %{url}download/source/icedtea6-%{icedteaver}%{icedteasnapshot}.tar.gz
 Source1:  %{fedorazip}
-# Save icedtea.classpath.org space and bandwidth.
-# NoSource: 1
 Source2:  %{accessurl}%{accessmajorver}/java-access-bridge-%{accessver}.tar.gz
 Source3:  %{genurl}generate-fedora-zip.sh
 Source4:  README.src
 Source5:  README.plugin
 Source6:  mauve-%{mauvedate}.tar.gz
 Source7:  mauve_tests
-# FIXME: This patch needs to be fixed. optflags argument -mtune=generic is being ignored
-# because it breaks several graphical applications.
+# FIXME: This patch needs to be fixed. optflags argument
+# -mtune=generic is being ignored because it breaks several graphical
+# applications.
 Patch0:   java-1.6.0-openjdk-optflags.patch
 Patch1:   java-1.6.0-openjdk-makefile.patch
-# FIXME: The licenses in the jhat sources need to be fixed with proper 
-# GPL Licenses.
+# FIXME: The licenses in the jhat sources need to be fixed with proper
+# GPL headers.
 Patch2:   java-1.6.0-openjdk-jhat.patch
 Patch3:	  java-1.6.0-openjdk-java-access-bridge-tck.patch
 
@@ -189,7 +188,7 @@
 BuildRequires: gecko-devel
 BuildRequires: glib2-devel
 BuildRequires: gtk2-devel
-# Zero-assembler build requirement
+# Zero-assembler build requirement.
 %ifnarch x86_64 %{ix86}
 BuildRequires: libffi-devel
 %endif
@@ -197,7 +196,7 @@
 Requires: libjpeg = 6b
 # Require /etc/pki/java/cacerts.
 Requires: ca-certificates
-# Require jpackage-utils for ant
+# Require jpackage-utils for ant.
 Requires: jpackage-utils >= 1.7.3-1jpp.3
 # Require zoneinfo data provided by tzdata-java subpackage.
 Requires: tzdata-java
@@ -212,7 +211,7 @@
 # for jnlp files.
 Requires(postun): %{_bindir}/update-desktop-database
 
-# java-1.6.0-openjdk replaces java-1.7.0-icedtea
+# java-1.6.0-openjdk replaces java-1.7.0-icedtea.
 Provides: java-1.7.0-icedtea = 0:1.7.0.0-0.999
 Obsoletes: java-1.7.0-icedtea < 0:1.7.0.0-0.999
 
@@ -250,7 +249,7 @@
 # Postun requires alternatives to uninstall tool alternatives.
 Requires(postun): %{_sbindir}/alternatives
 
-# java-1.6.0-openjdk-devel replaces java-1.7.0-icedtea-devel
+# java-1.6.0-openjdk-devel replaces java-1.7.0-icedtea-devel.
 Provides: java-1.7.0-icedtea-devel = 0:1.7.0.0-0.999
 Obsoletes: java-1.7.0-icedtea-devel < 0:1.7.0.0-0.999
 
@@ -272,7 +271,7 @@
 
 Requires: %{name} = %{epoch}:%{version}-%{release}
 
-# java-1.6.0-openjdk-demo replaces java-1.7.0-icedtea-demo
+# java-1.6.0-openjdk-demo replaces java-1.7.0-icedtea-demo.
 Provides: java-1.7.0-icedtea-demo = 0:1.7.0.0-0.999
 Obsoletes: java-1.7.0-icedtea-demo < 0:1.7.0.0-0.999
 
@@ -285,7 +284,7 @@
 
 Requires: %{name} = %{epoch}:%{version}-%{release}
 
-# java-1.6.0-openjdk-src replaces java-1.7.0-icedtea-src
+# java-1.6.0-openjdk-src replaces java-1.7.0-icedtea-src.
 Provides: java-1.7.0-icedtea-src = 0:1.7.0.0-0.999
 Obsoletes: java-1.7.0-icedtea-src < 0:1.7.0.0-0.999
 
@@ -301,7 +300,7 @@
 # Postun requires alternatives to uninstall javadoc alternative.
 Requires(postun): %{_sbindir}/alternatives
 
-# java-1.6.0-openjdk-javadoc replaces java-1.7.0-icedtea-javadoc
+# java-1.6.0-openjdk-javadoc replaces java-1.7.0-icedtea-javadoc.
 Provides: java-1.7.0-icedtea-javadoc = 0:1.7.0.0-0.999
 Obsoletes: java-1.7.0-icedtea-javadoc < 0:1.7.0.0-0.999
 
@@ -323,7 +322,7 @@
 # Postun requires alternatives to uninstall plugin alternative.
 Requires(postun): %{_sbindir}/alternatives
 
-# java-1.6.0-openjdk-plugin replaces java-1.7.0-icedtea-plugin
+# java-1.6.0-openjdk-plugin replaces java-1.7.0-icedtea-plugin.
 Provides: java-1.7.0-icedtea-plugin = 0:1.7.0.0-0.999
 Obsoletes: java-1.7.0-icedtea-plugin < 0:1.7.0.0-0.999
 
@@ -345,6 +344,7 @@
 cp %{SOURCE7} .
 
 %build
+# Build IcedTea and OpenJDK.
 ./configure %{icedteaopt} --with-openjdk-src-zip=%{SOURCE1}
 %if %{gcjbootstrap}
 make stamps/patch-ecj.stamp
@@ -355,34 +355,45 @@
 make stamps/patch.stamp
 patch -l -p0 < %{PATCH2}
 make
-echo ====================JTREG TESTING========================
-( make jtregcheck -k | tee jtreg_output ) || :
-echo ====================JTREG TESTING END====================
+
+export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image
+
+# Build Java Access Bridge for GNOME.
 pushd java-access-bridge-%{accessver}
   patch -l -p1 < %{PATCH3}
-  export JAVA_HOME=$(pwd)/../%{buildoutputdir}/j2sdk-image
-  export PATH=$JAVA_HOME/bin:$PATH
+  OLD_PATH=$PATH
+  export PATH=$JAVA_HOME/bin:$OLD_PATH
   ./configure
   make
+  export PATH=$OLD_PATH
   cp -a bridge/accessibility.properties $JAVA_HOME/jre/lib
   cp -a gnome-java-bridge.jar $JAVA_HOME/jre/lib/ext
 popd
-# Running Mauve to check for regressions
-pushd mauve-%{mauvedate}
-  ./configure 
-  make
-  echo ====================MAUVE TESTING========================
-  export DISPLAY=:20
-  Xvfb :20 -screen 0 1x1x24 -ac& 
-  echo $! > Xvfb.pid
-  ( $JAVA_HOME/bin/java Harness -vm $JAVA_HOME/bin/java \
-  -file %{SOURCE7} \
-  -timeout 30000 2>&1 | tee mauve_output ) || :
-  kill -9 `cat Xvfb.pid`
-  unset DISPLAY
-  rm -f Xvfb.pid
-  echo ====================MAUVE TESTING END====================
-popd
+
+# Run jtreg test suite.
+{
+  echo ====================JTREG TESTING========================
+  make jtregcheck -k | tee jtreg_output
+  echo ====================JTREG TESTING END====================
+} || :
+
+# Run Mauve test suite.
+{
+  pushd mauve-%{mauvedate}
+    ./configure
+    make
+    echo ====================MAUVE TESTING========================
+    export DISPLAY=:20
+    Xvfb :20 -screen 0 1x1x24 -ac&
+    echo $! > Xvfb.pid
+    $JAVA_HOME/bin/java Harness -vm $JAVA_HOME/bin/java \
+      -file %{SOURCE7} -timeout 30000 2>&1 | tee mauve_output
+    kill -9 `cat Xvfb.pid`
+    unset DISPLAY
+    rm -f Xvfb.pid
+    echo ====================MAUVE TESTING END====================
+  popd
+} || :
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -473,7 +484,7 @@
 install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}
 cp -a %{buildoutputdir}/docs $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 
-# Install icons and menu entries
+# Install icons and menu entries.
 for s in 16 24 32 48 ; do
   install -D -p -m 644 \
     openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \
@@ -529,7 +540,7 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-# FIXME: identical binaries are copied, not linked. This needs to be 
+# FIXME: identical binaries are copied, not linked. This needs to be
 # fixed upstream.
 %post
 ext=.gz
@@ -781,7 +792,7 @@
 %{jvmjardir}
 %dir %{_jvmdir}/%{jredir}/lib/security
 %{_jvmdir}/%{jredir}/lib/security/cacerts
-#FIXME: These should be replaced by symlinks into /etc.
+# FIXME: These should be replaced by symlinks into /etc.
 %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
 %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
 %ghost %{_jvmdir}/%{jredir}/lib/security/local_policy.jar
@@ -854,8 +865,10 @@
 %defattr(-,root,root,-)
 %doc README.src
 %{_jvmdir}/%{sdkdir}/src.zip
+# FIXME: put these in a separate testresults subpackage.
 %doc mauve_tests
 %doc mauve-%{mauvedate}/mauve_output
+%doc jtreg_output
 
 %files javadoc
 %defattr(-,root,root,-)
@@ -867,10 +880,17 @@
 %{_jvmdir}/%{jredir}/lib/%{archinstall}/gcjwebplugin.so
 
 %changelog
-* Wed May 28 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.14.b09
+* Fri May 30 2008 Thomas Fitzsimmons <fitzsim at redhat.com> - 1:1.6.0.0-0.15.b09
+- Group all Mauve commands.
+
+* Fri May 30 2008 Thomas Fitzsimmons <fitzsim at redhat.com> - 1:1.6.0.0-0.15.b09
+- Formatting cleanups.
+- Add jtreg_output to src subpackage.
+
+* Wed May 28 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.15.b09
 - Updated icedteasnapshot for new release.
 
-* Tue May 27 2008 Thomas Fitzsimmons <fitzsim at redhat.com> - 1:1.6.0.0-0.14.b09
+* Tue May 27 2008 Thomas Fitzsimmons <fitzsim at redhat.com> - 1:1.6.0.0-0.15.b09
 - Require ca-certificates.
 - Symlink to ca-certificates cacerts.
 - Remove cacerts from files list.
@@ -903,8 +923,8 @@
 
 * Tue Apr 29 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.11.b09
 - Updated icedteasnapshot.
-- Removed java-1.6.0-openjdk-jconsole.desktop and 
-java-1.6.0-openjdk-policytool.desktop files.
+- Removed java-1.6.0-openjdk-jconsole.desktop and
+  java-1.6.0-openjdk-policytool.desktop files.
 
 * Tue Apr 29 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.11.b09
 - Updated release.
@@ -931,7 +951,7 @@
 
 * Thu Apr 18 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.9.b09
 - Updated icedteaver.
-- Updated icedteasnapshot. 
+- Updated icedteasnapshot.
 - Updated openjdkver.
 - Updated openjdkdate.
 - Updated release.
@@ -949,7 +969,7 @@
 - Updated icedteaver.
 
 * Mon Apr 07 2008 Dennis Gilmore <dennis at ausil.us> - 1:1.6.0.0-0.8.b08
-- enable building for all arches using zero where there is not a native port
+- Enable building for all arches using zero where there is not a native port.
 
 * Mon Mar 31 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.7.b08
 - Updated icedteasnapshot. Includes sources needed to build xmlgraphics-commons.
@@ -976,7 +996,7 @@
 * Mon Mar 17 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.5.b06
 - Updated icedteasnapshot.
 - Updated Release.
-- Added new patch: java-1.6.0-openjdk-optflags.patch
+- Added new patch: java-1.6.0-openjdk-optflags.patch.
 - Resolves: rhbz#437331
 
 * Mon Mar 17 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.5.b06
@@ -985,7 +1005,7 @@
 
 * Fri Mar 14 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.4.b06
 - Fixed Provides and Obsoletes for all sub-packages. Should have specified
-java-1.7.0-icedtea < 1.7.0.0-0.999 instead of 1.7.0-0.999.
+  java-1.7.0-icedtea < 1.7.0.0-0.999 instead of 1.7.0-0.999.
 - Resolves: rhbz#437492
 
 * Wed Mar 12 2008 Thomas Fitzsimmons <fitzsim at redhat.com> - 1:1.6.0.0-0.4.b06
@@ -1002,8 +1022,8 @@
 - Changed icedteaopt to use --with-openjdk instead of --with-icedtea.
 
 * Tue Mar 11 2008 Lillian Angel <langel at redhat.com> - 1:1.6.0.0-0.2.b06
-- Added Provides and Obsoletes for all subpackages. All sub-packages 
-replaces java-1.7.0-icedtea.
+- Added Provides and Obsoletes for all subpackages. All sub-packages
+  replaces java-1.7.0-icedtea.
 - Updated Release.
 - Changed BuildRequires from java-1.7.0-icedtea to java-1.6.0-openjdk.
 - Added TRADEMARK file to docs.
@@ -1049,8 +1069,8 @@
 - Fixed archbuild/archinstall if-block.
 
 * Thu Jan 03 2008 Lillian Angel <langel at redhat.com> - 1.7.0.0-0.23.b24.snapshot
-- Removed BuildRequirement firefox-devel
-- Added BuildRequirement gecko-devel
+- Removed BuildRequirement firefox-devel.
+- Added BuildRequirement gecko-devel.
 - Resolves rhbz#427350
 
 * Fri Dec 28 2007 Lillian Angel <langel at redhat.com> - 1.7.0.0-0.23.b24.snapshot
@@ -1116,9 +1136,9 @@
 - Removed gcjbootstrap.
 - Removed icedteaopt.
 - Removed all gcj related checks.
-- Resolves: rhbz#317041 
-- Resolves: rhbz#314211 
-- Resolves: rhbz#314141 
+- Resolves: rhbz#317041
+- Resolves: rhbz#314211
+- Resolves: rhbz#314141
 - Resolves: rhbz#301691
 
 * Mon Oct 1 2007 Lillian Angel <langel at redhat.com> - 1.7.0.0-0.16.b19.snapshot
@@ -1146,7 +1166,7 @@
   is thrown
 
 * Mon Sep 24 2007 Lillian Angel <langel at redhat.com> - 1.7.0.0-0.15.b19.snapshot
-- Added JTreg zip as source
+- Added JTreg zip as source.
 - Run JTreg tests after build for smoke testing.
 - Added Xvfb as build requirement.
 




More information about the fedora-extras-commits mailing list