Hello community,

here is the log from the commit of package javazic for openSUSE:Factory checked 
in at 2017-10-06 10:54:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/javazic (Old)
 and      /work/SRC/openSUSE:Factory/.javazic.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "javazic"

Fri Oct  6 10:54:45 2017 rev:13 rq:530676 version:1.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/javazic/javazic.changes  2012-05-09 
07:25:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.javazic.new/javazic.changes     2017-10-06 
10:54:46.839988989 +0200
@@ -1,0 +2,7 @@
+Mon Oct  2 14:02:52 UTC 2017 - fst...@suse.com
+
+- Move the sun.util.calendar to sun.whatever.calendar in order to
+  avoid clash with internal java classes that have different
+  interface in jdk8+
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ javazic.spec ++++++
--- /var/tmp/diff_new_pack.WMPu1w/_old  2017-10-06 10:54:47.723855398 +0200
+++ /var/tmp/diff_new_pack.WMPu1w/_new  2017-10-06 10:54:47.727854793 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package javazic (Version 1.6.0)
+# spec file for package javazic
 #
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,53 +15,45 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           javazic
-BuildRequires:  gcc-java
-BuildRequires:  fastjar
-License:        GPL-2.0-with-classpath-exception
-Summary:        A time zone compiler for Java
-Group:          Development/Libraries/Java
 # javazic source codes comes from openjdk6-b09 source archive
 # see package java-1_6_0-java for details and source code
 Version:        1.6.0
-Release:        2
+Release:        0
+Summary:        A time zone compiler for Java
+License:        GPL-2.0-with-classpath-exception
+Group:          Development/Libraries/Java
 Url:            http://icedtea.classpath.org
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildArch:      noarch
 Source0:        javazic.tar.gz
 Patch0:         javazic-fixup.patch
+BuildRequires:  java-devel
+BuildArch:      noarch
 
 %description
 This is a time zone compiler for opensource Java Virtual Machine
 derived from openjdk6 source code.
 
-
-
 %prep
 %setup -q -c %{name}-%{version}
 %patch0 -b .javazic-fixup
 
 %build
-gcj -C $(find sun/ -iname '*.java')
+mv sun/util sun/whatever
+perl -pi -e 's#sun\.util\.calendar#sun\.whatever\.calendar#g' $(find sun/ 
-iname '*.java')
+javac -source 6 -target 6 $(find sun/ -iname '*.java')
 echo "Main-Class: sun.tools.javazic.Main" > manifest.txt
-fastjar -cfm %{name}-%{version}.jar manifest.txt $(find . -iname '*.class')
+jar -cfm %{name}-%{version}.jar manifest.txt $(find . -iname '*.class')
 
 %install
-install -d -m 0755 $RPM_BUILD_ROOT/%{_javadir}
-install -m 0644 %{name}-%{version}.jar $RPM_BUILD_ROOT/%{_javadir}/
+install -d -m 0755 %{buildroot}/%{_javadir}
+install -m 0644 %{name}-%{version}.jar %{buildroot}/%{_javadir}/
 # jars
-(cd $RPM_BUILD_ROOT%{_javadir}/ && for jar in *-%{version}*; do ln -sf ${jar} 
${jar/-%{version}/}; done)
-install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
-cp -rp tzdata_jdk $RPM_BUILD_ROOT/%{_datadir}/%{name}/
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+(cd %{buildroot}%{_javadir}/ && for jar in *-%{version}*; do ln -sf ${jar} 
${jar/-%{version}/}; done)
+install -d -m 0755 %{buildroot}/%{_datadir}/%{name}
+cp -rp tzdata_jdk %{buildroot}/%{_datadir}/%{name}/
 
 %files
-%defattr(-,root,root,0755)
 %{_javadir}/%{name}*.jar
 %{_datadir}/%{name}
 


Reply via email to