Hello community, here is the log from the commit of package icu4j for openSUSE:Factory checked in at 2018-12-07 14:32:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/icu4j (Old) and /work/SRC/openSUSE:Factory/.icu4j.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "icu4j" Fri Dec 7 14:32:29 2018 rev:12 rq:653883 version:63.1 Changes: -------- --- /work/SRC/openSUSE:Factory/icu4j/icu4j.changes 2018-01-13 21:40:22.622407338 +0100 +++ /work/SRC/openSUSE:Factory/.icu4j.new.19453/icu4j.changes 2018-12-07 14:32:36.179279332 +0100 @@ -1,0 +2,26 @@ +Tue Nov 27 12:56:30 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Distribute also the charset and localespi jars along with their + pom files. +- Install the jars also to %{_javadir}%{name} directory for + compatibility reasons. + +------------------------------------------------------------------- +Fri Nov 23 16:03:18 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Added patch: + * improve-osgi-manifest.patch + +------------------------------------------------------------------- +Thu Nov 22 12:23:04 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Version update to 63.1 + * updates to CLDR 34 locale data with many additions and + corrections, and some new languages. + * adds API for number and currency range formatting, and API for + additional Unicode properties and for constructing custom + properties. + * includex data for testing readiness for the upcoming Japanese + calendar era. + +------------------------------------------------------------------- Old: ---- icu4j-60.2.tar.xz New: ---- icu4j-63.1.tar.xz improve-osgi-manifest.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icu4j.spec ++++++ --- /var/tmp/diff_new_pack.NAroHi/_old 2018-12-07 14:32:37.391277829 +0100 +++ /var/tmp/diff_new_pack.NAroHi/_new 2018-12-07 14:32:37.391277829 +0100 @@ -1,7 +1,7 @@ # # spec file for package icu4j # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2000-2007, JPackage Project # # All modifications and additions to the file contributed by third parties @@ -13,12 +13,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: icu4j -Version: 60.2 +Version: 63.1 Release: 0 Summary: International Components for Unicode for Java License: MIT AND EPL-1.0 @@ -30,6 +30,7 @@ #tar caf icu4j-<version>.tar.xz icu4j-<version>/ Source0: %{name}-%{version}.tar.xz Patch0: icu4j-jdk10plus.patch +Patch1: improve-osgi-manifest.patch BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel @@ -54,6 +55,22 @@ richer APIs, while remaining as compatible as possible with the original Java text and internationalization API design. +%package charset +Summary: Charset converter library of %{name} +Group: Development/Libraries/Java +Requires: %{name} = %{version}-%{release} + +%description charset +Charset converter library of %{name}. + +%package localespi +Summary: Locale SPI library of %{name} +Group: Development/Libraries/Java +Requires: %{name} = %{version}-%{release} + +%description localespi +Locale SPI library of %{name}. + %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML @@ -64,6 +81,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p0 sed -i 's/\r//' APIChangeReport.html sed -i 's/\r//' readme.html @@ -82,9 +100,11 @@ %install # jars -mkdir -p %{buildroot}%{_javadir} -cp -ap %{name}.jar %{buildroot}%{_javadir}/%{name}.jar - +mkdir -p %{buildroot}%{_javadir}/%{name} +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 # javadoc mkdir -p %{buildroot}%{_javadocdir}/%{name} cp -pr doc/* %{buildroot}%{_javadocdir}/%{name} @@ -92,18 +112,45 @@ # maven stuff install -d -m 755 %{buildroot}%{_mavenpomdir} -cp maven/icu4j/pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom -%add_maven_depmap JPP-%{name}.pom %{name}.jar +for jar in icu4j icu4j-charset icu4j-localespi ; do + sed -i -e 's/@POMVERSION@/%{version}/' maven/$jar/pom.xml + cp maven/$jar/pom.xml %{buildroot}%{_mavenpomdir}/JPP-$jar.pom +done +%add_maven_depmap JPP-icu4j.pom icu4j.jar +%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 +%dir %{_javadir}/%{name} %doc readme.html APIChangeReport.html -%{_javadir}/%{name}*.jar +%{_javadir}/%{name}.jar +%{_javadir}/%{name}/%{name}.jar %if %{defined _maven_repository} %{_mavendepmapfragdir}/%{name} %else %{_datadir}/maven-metadata/%{name}.xml* %endif -%{_mavenpomdir}/*.pom +%{_mavenpomdir}/JPP-%{name}.pom + +%files charset +%{_javadir}/%{name}-charset.jar +%{_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 +%{_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-60.2.tar.xz -> icu4j-63.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/icu4j/icu4j-60.2.tar.xz /work/SRC/openSUSE:Factory/.icu4j.new.19453/icu4j-63.1.tar.xz differ: char 26, line 1 ++++++ improve-osgi-manifest.patch ++++++ --- manifest.stub.orig 2014-11-17 14:56:10.568212293 +0000 +++ manifest.stub 2014-11-17 15:00:31.395686692 +0000 @@ -9,10 +9,28 @@ Bundle-ManifestVersion: 2 Bundle-Name: ICU4J Bundle-Description: International Components for Unicode for Java -Bundle-SymbolicName: com.ibm.icu +Bundle-SymbolicName: com.ibm.icu; singleton:=true Bundle-Version: @IMPLVERSION@ Bundle-Vendor: Unicode, Inc. Bundle-Copyright: @COPYRIGHT@ Bundle-RequiredExecutionEnvironment: @EXECENV@ Main-Class: com.ibm.icu.util.VersionInfo -Export-Package: com.ibm.icu.lang,com.ibm.icu.math,com.ibm.icu.text,com.ibm.icu.util \ No newline at end of file +Export-Package: com.ibm.icu.lang;base=true;full=true;version="@IMPLVERSION@", + com.ibm.icu.math;base=true;full=true;version="@IMPLVERSION@", + com.ibm.icu.text;base=true;full=true;version="@IMPLVERSION@", + com.ibm.icu.util;base=true;full=true;version="@IMPLVERSION@", + com.ibm.icu.impl;x-internal:=true, + com.ibm.icu.impl.data;x-internal:=true, + com.ibm.icu.impl.data.icudt@DATAVERSION@b;x-internal:=true, + com.ibm.icu.impl.data.icudt@DATAVERSION@b.brkitr;x-internal:=true, + com.ibm.icu.impl.data.icudt@datavers...@b.coll;x-internal:=true, + com.ibm.icu.impl.data.icudt@datavers...@b.curr;x-internal:=true, + com.ibm.icu.impl.data.icudt@datavers...@b.lang;x-internal:=true, + com.ibm.icu.impl.data.icudt@datavers...@b.rbnf;x-internal:=true, + com.ibm.icu.impl.data.icudt@DATAVERSION@b.region;x-internal:=true, + com.ibm.icu.impl.data.icudt@DATAVERSION@b.translit;x-internal:=true, + com.ibm.icu.impl.data.icudt@datavers...@b.zone;x-internal:=true, + com.ibm.icu.impl.duration;x-internal:=true, + com.ibm.icu.impl.locale;x-internal:=true +Eclipse-LazyStart: true +Eclipse-ExtensibleAPI: true --- main/shared/build/common-targets.xml.orig 2014-11-17 14:59:05.335849961 +0000 +++ main/shared/build/common-targets.xml 2014-11-17 14:59:36.868423736 +0000 @@ -75,6 +75,7 @@ <filterset> <filter token="SPECVERSION" value="${jar.spec.version}"/> <filter token="IMPLVERSION" value="${jar.impl.version}"/> + <filter token="DATAVERSION" value="${icu4j.data.version}"/> <filter token="COPYRIGHT" value="${jar.copyright.info}"/> <filter token="EXECENV" value="${jar.exec.env}"/> </filterset> --- build.xml.orig 2014-11-17 21:45:53.308610711 +0000 +++ build.xml 2014-11-17 21:46:29.969096734 +0000 @@ -693,6 +693,7 @@ <filterset> <filter token="SPECVERSION" value="${jar.spec.version}"/> <filter token="IMPLVERSION" value="${jar.impl.version}"/> + <filter token="DATAVERSION" value="${icu4j.data.version}"/> <filter token="COPYRIGHT" value="${jar.copyright.info}"/> <filter token="EXECENV" value="${jar.exec.env}"/> </filterset>