Hello community, here is the log from the commit of package icu4j for openSUSE:Factory checked in at 2019-02-27 15:04:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icu4j (Old) and /work/SRC/openSUSE:Factory/.icu4j.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icu4j" Wed Feb 27 15:04:01 2019 rev:13 rq:678583 version:63.1 Changes: -------- --- /work/SRC/openSUSE:Factory/icu4j/icu4j.changes 2018-12-07 14:32:36.179279332 +0100 +++ /work/SRC/openSUSE:Factory/.icu4j.new.28833/icu4j.changes 2019-02-27 15:04:05.466482968 +0100 @@ -1,0 +2,8 @@ +Wed Feb 13 12:42:12 UTC 2019 - Fridrich Strba <[email protected]> + +- Added patch: + * icu4j-63.1-java8compat.patch + + Prevent use of Jdk >= 9 functions +- Clean up the file and sanitize osgi bundle versions + +------------------------------------------------------------------- New: ---- icu4j-63.1-java8compat.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icu4j.spec ++++++ --- /var/tmp/diff_new_pack.MLg3dd/_old 2019-02-27 15:04:07.718482359 +0100 +++ /var/tmp/diff_new_pack.MLg3dd/_new 2019-02-27 15:04:07.750482349 +0100 @@ -1,7 +1,7 @@ # # spec file for package icu4j # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2000-2007, JPackage Project # # All modifications and additions to the file contributed by third parties @@ -17,27 +17,29 @@ # +%global majorver 63 +%global minorver 1 +%global oldmajorver 62 Name: icu4j -Version: 63.1 +Version: %{majorver}.%{minorver} Release: 0 Summary: International Components for Unicode for Java License: MIT AND EPL-1.0 Group: Development/Libraries/Java -Url: http://site.icu-project.org/ +URL: http://site.icu-project.org/ #CAUTION #to create a tarball use following procedure -#svn co http://source.icu-project.org/repos/icu/tags/release-60-2/icu4j icu4j-<version> -#tar caf icu4j-<version>.tar.xz icu4j-<version>/ +#svn co http://source.icu-project.org/repos/icu/tags/release-%{majorver}-%{minorver}/icu4j icu4j-%{majorver}.%{minorver} +#tar caf icu4j-%{majorver}.%{minorver}.tar.xz icu4j-%{majorver}.%{minorver}/ Source0: %{name}-%{version}.tar.xz Patch0: icu4j-jdk10plus.patch +# Add better OSGi metadata to core jar Patch1: improve-osgi-manifest.patch +Patch2: icu4j-63.1-java8compat.patch BuildRequires: ant BuildRequires: fdupes -BuildRequires: java-devel +BuildRequires: java-javadoc BuildRequires: javapackages-local -BuildRequires: javapackages-tools -BuildRequires: unzip -BuildRequires: zip BuildArch: noarch %description @@ -81,7 +83,8 @@ %prep %setup -q %patch0 -p1 -%patch1 -p0 +%patch1 +%patch2 -p1 sed -i 's/\r//' APIChangeReport.html sed -i 's/\r//' readme.html @@ -90,18 +93,30 @@ sed --in-place "s/<date datetime=.*when=\"after\"\/>//" build.xml sed --in-place "/javac1.3/d" build.xml sed --in-place "s:%{_prefix}/lib:%{_libdir}:g" build.xml -rm -f tools/build/src/com/ibm/icu/dev/tool/docs/ICUTaglet*.java + +rm tools/build/src/com/ibm/icu/dev/tool/docs/ICUTaglet* + +# The versions in build.properties were not updated since some time +rm build.properties +echo "api.doc.version=%{version}" >> build.properties +echo "maven.pom.ver=%{version}" >> build.properties +echo "release.file.ver=%{majorver}_%{minorver}" >> build.properties +echo "api.report.version=%{majorver}" >> build.properties +echo "api.report.prev.version=%{oldmajorver}" >> build.properties +echo "jar.spec.version=%{majorver}" >> build.properties +echo "jar.impl.version=%{version}" >> build.properties +echo "jar.impl.version.string=%{version}.0" >> build.properties %build ant \ -Dicu4j.javac.source=1.6 -Dicu4j.javac.target=1.6 \ - -Dj2se.apidoc=%{_javadocdir}/java \ + -Dj2se.apidoc=%{_javadocdir}/java -Dicu4j.api.doc.jdk.link=%{_javadocdir}/java \ jar docs %install # jars mkdir -p %{buildroot}%{_javadir}/%{name} -cp -ap %{name}*.jar %{buildroot}%{_javadir} +cp -ap %{name}*.jar %{buildroot}%{_javadir}/ for jar in icu4j icu4j-charset icu4j-localespi ; do ln -sf %{_javadir}/${jar}.jar %{buildroot}%{_javadir}/%{name}/${jar}.jar done @@ -120,37 +135,16 @@ %add_maven_depmap JPP-icu4j-charset.pom icu4j-charset.jar -f charset %add_maven_depmap JPP-icu4j-localespi.pom icu4j-localespi.jar -f localespi -%files +%files -f .mfiles %dir %{_javadir}/%{name} %doc readme.html APIChangeReport.html -%{_javadir}/%{name}.jar %{_javadir}/%{name}/%{name}.jar -%if %{defined _maven_repository} -%{_mavendepmapfragdir}/%{name} -%else -%{_datadir}/maven-metadata/%{name}.xml* -%endif -%{_mavenpomdir}/JPP-%{name}.pom -%files charset -%{_javadir}/%{name}-charset.jar +%files charset -f .mfiles-charset %{_javadir}/%{name}/%{name}-charset.jar -%if %{defined _maven_repository} -%{_mavendepmapfragdir}/%{name}-charset -%else -%{_datadir}/maven-metadata/%{name}-charset.xml* -%endif -%{_mavenpomdir}/JPP-%{name}-charset.pom -%files localespi -%{_javadir}/%{name}-localespi.jar +%files localespi -f .mfiles-localespi %{_javadir}/%{name}/%{name}-localespi.jar -%if %{defined _maven_repository} -%{_mavendepmapfragdir}/%{name}-localespi -%else -%{_datadir}/maven-metadata/%{name}-localespi.xml* -%endif -%{_mavenpomdir}/JPP-%{name}-localespi.pom %files javadoc %{_javadocdir}/%{name} ++++++ icu4j-63.1-java8compat.patch ++++++ ++++ 4403 lines (skipped)
