Dominique Leuenberger 2020-11-06 22:43:47 +00:00 committed by Git OBS Bridge
commit 0c358d7a4d
7 changed files with 41 additions and 34 deletions

View File

@ -10,7 +10,7 @@
<property name="project.groupId" value="commons-codec"/> <property name="project.groupId" value="commons-codec"/>
<property name="project.artifactId" value="commons-codec"/> <property name="project.artifactId" value="commons-codec"/>
<property name="project.version" value="1.14"/> <property name="project.version" value="1.15"/>
<property name="project.name" value="Apache Commons Codec"/> <property name="project.name" value="Apache Commons Codec"/>
<property name="project.description" value="The Apache Commons Codec package <property name="project.description" value="The Apache Commons Codec package
contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. contains simple encoder and decoders for various formats such as Base64 and Hexadecimal.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Tue Oct 27 07:51:13 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
- Update to 1.15
* Fix: MurmurHash3: Ensure hash128 maintains the sign extension bug.
* Update: Base32/Base64/BCodec: Added strict decoding property to
control handling of trailing bits. Default lenient mode discards
them without error. Strict mode raise an exception.
* Update: Base32/Base64 Input/OutputStream: Added strict decoding
property to control handling of trailing bits. Default lenient
mode discards them without error. Strict mode raise an exception.
* Update: Update tests from JUnit 4.12 to 4.13.
* Add: Base16Codec and Base16Input/OutputStream.
* Add: Hex encode/decode with existing arrays.
* Update: Update actions/checkout from v1 to v2.3.2.
* Update: Update actions/setup-java from v1.4.0 to v1.4.1.
- Remove timeout.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 2 08:57:59 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com> Tue Jun 2 08:57:59 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>

View File

@ -21,19 +21,18 @@
%define short_name commons-%{base_name} %define short_name commons-%{base_name}
%bcond_with tests %bcond_with tests
Name: apache-commons-codec Name: apache-commons-codec
Version: 1.14 Version: 1.15
Release: 0 Release: 0
Summary: Apache Commons Codec Package Summary: Apache Commons Codec Package
License: Apache-2.0 License: Apache-2.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: http://commons.apache.org/codec/ URL: http://commons.apache.org/codec/
Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz Source0: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source2: http://archive.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc
Source1: %{name}-build.xml Source1: %{name}-build.xml
# Data in DoubleMetaphoneTest.java originally has an inadmissible license. # Data in DoubleMetaphoneTest.java originally has an inadmissible license.
# The author gives MIT in e-mail communication. # The author gives MIT in e-mail communication.
Source100: aspell-mail.txt Source100: aspell-mail.txt
# PATCH-FIX-OPENSUSE Avoid spurious timeout in BeiderMorse tests
Patch0: timeout.patch
BuildRequires: ant BuildRequires: ant
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: fdupes BuildRequires: fdupes
@ -72,7 +71,6 @@ Javadoc for %{name}.
%setup -q -n %{short_name}-%{version}-src %setup -q -n %{short_name}-%{version}-src
cp %{SOURCE1} build.xml cp %{SOURCE1} build.xml
cp %{SOURCE100} aspell-mail.txt cp %{SOURCE100} aspell-mail.txt
%patch0 -p1
#fixes eof encoding #fixes eof encoding
dos2unix RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt dos2unix RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:094e7ba23ba9ea778ae4e884ec1f29cd133457156eaab26e4815cec99e02b987
size 406760

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5286132affdb74f165a33389e8f1bbbbae147790fcc6decf3d0d35875ec5e907
size 423639

View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAABCgAGBQJfSPJsAAoJECGTn/DKKmVn0UcQAKHXUaFx3Mbv7VCklOrAM8Jl
Bj+i9S9koFKp4nbDLZPE3Ayj9e8JGBWnecbwZ2XHnt592/6oYzfiyhvEEmQRxX0g
8BjdsGczqPnpZeKPPUVqsJ87TnHEChO02c+ZAYIroVeamBKeiVWMgXnjFsGfFwvR
z3zlULIcurGt+U1NT8vPp8WWwS/GTfDurXZWViruSHaRLxMNnxIo5IpOkDIp8jwn
ZheYmb9Efr8YNT58IosJjFnSmt9omyWZ3iCgBSdXe7RPNx9FSKyQayiLCWJS1LFW
5+NcBgrxds3eF977ox3ppdwPNTxwTiKGz54D2YkHt42RhQob5Ab+z+m57IylWuD5
JAirPSjFf6coOg88/8WwfwbLuAH4WbebTCn2nvwqq4VQPfAjHo0L6xGtI78WHsqG
pUsg1eIrlpdQfTAogtUQm1RLk7m6Kq9IRzJKg4zEKL/x2sVnvEPAF+qFL3SMAW9C
pPvrg2uvJmCFPMJHnBXVOuDQCBEqcwRwnAbzqaaSB4bg9vhW5xiXMk+QUgMXMqpG
LMzANgMccZossZlYZMbzlL52FyaqdYoFeY6JVQYDpObk9IWkZ+Hi5pIbz7y+FZqh
rW/RqxWla4D9nNkVOOg4P9kMOgADYf7NtpVABzv4J6UPzC/M7xj2QbuD6zHoqXNm
SPM2UzVw8pxO9FtbuwRz
=qoYf
-----END PGP SIGNATURE-----

View File

@ -1,26 +0,0 @@
Index: commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java
===================================================================
--- commons-codec-1.8-src.orig/src/test/java/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java
+++ commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/BeiderMorseEncoderTest.java
@@ -125,7 +125,7 @@ public class BeiderMorseEncoderTest exte
Languages.getInstance("thereIsNoSuchLanguage");
}
- @Test(timeout = 10000L)
+ @Test
public void testLongestEnglishSurname() throws EncoderException {
final BeiderMorseEncoder bmpm = createGenericApproxEncoder();
bmpm.encode("MacGhilleseatheanaich");
Index: commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineTest.java
===================================================================
--- commons-codec-1.8-src.orig/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineTest.java
+++ commons-codec-1.8-src/src/test/java/org/apache/commons/codec/language/bm/PhoneticEngineTest.java
@@ -71,7 +71,7 @@ public class PhoneticEngineTest {
this.maxPhonemes = maxPhonemes;
}
- @Test(timeout = 10000L)
+ @Test
public void testEncode() {
final PhoneticEngine engine = new PhoneticEngine(this.nameType, this.ruleType, this.concat, this.maxPhonemes);