Hello community,
here is the log from the commit of package apache-commons-codec for openSUSE:Factory checked in at 2013-09-03 22:07:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-codec (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-codec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-codec"
Changes:
--------
--- /work/SRC/openSUSE:Factory/apache-commons-codec/apache-commons-codec.changes 2012-04-12 09:18:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.apache-commons-codec.new/apache-commons-codec.changes 2013-09-03 22:07:03.000000000 +0200
@@ -1,0 +2,15 @@
+Mon Aug 26 14:06:06 UTC 2013 - mvyskocil@suse.com
+
+- update to 1.8
+ * Add DigestUtils.updateDigest(MessageDigest, InputStream). Thanks to Daniel Cassidy.
+ * Add JUnit to test our decode with pad character in the middle.
+ * Add Match Rating Approach (MRA) phonetic algorithm encoder. Thanks to crice.
+ * ColognePhonetic encoder unnecessarily creates many char arrays on every loop run. Thanks to leo141.
+ * Base64.encodeBase64URLSafeString doesn't add padding characters at the end.
+- temporary add mozilla-nss to BR: to pass tests
+- drop unecessary source files
+- add signature verification
+- use newer add_maven_depmap
+- fix source urls
+
+-------------------------------------------------------------------
Old:
----
apache-commons-codec-component-info.xml
apache-commons-codec-jpp-depmap.xml
apache-commons-codec-settings.xml
commons-codec-1.6-src.tar.gz
New:
----
apache-commons-codec.keyring
commons-codec-1.8-src.tar.gz
commons-codec-1.8-src.tar.gz.asc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-codec.spec ++++++
--- /var/tmp/diff_new_pack.Sba1Po/_old 2013-09-03 22:07:04.000000000 +0200
+++ /var/tmp/diff_new_pack.Sba1Po/_new 2013-09-03 22:07:04.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-codec
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2000-2010, JPackage Project
# All rights reserved.
#
@@ -18,42 +18,32 @@
#
-%define with() %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
-%define without() %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
-%define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
-%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}
-
# % bcond_without maven
-%bcond_with gcj_support
-# % bcond_without repolib
-
-%define repodir %{_javadir}/repository.jboss.com/apache-%{base_name}/%{version}-brew
-%define repodirlib %{repodir}/lib
-%define repodirres %{repodir}/resources
-%define repodirsrc %{repodir}/src
%define base_name codec
%define short_name commons-%{base_name}
-%define section free
Name: apache-commons-codec
-Version: 1.6
+Version: 1.8
Release: 0
Summary: Apache Commons Codec Package
License: Apache-2.0
Group: Development/Libraries/Java
Url: http://commons.apache.org/codec/
-Source0: http://www.apache.org/dist/jakarta/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
-Source1: %{name}-settings.xml
-Source2: %{name}-jpp-depmap.xml
-Source3: %{name}-component-info.xml
+Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
+Source1: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz.asc
+Source2: apache-commons-codec.keyring
Source4: MANIFEST.MF
BuildRequires: ant >= 1.7
BuildRequires: ant-junit >= 1.7
BuildRequires: java-devel >= 1.6.0
+# FIXME: mozilla-nss is necessary in order to use crypto, which is tested via junit tests
+# this should be a dependency of openjdk itself
+BuildRequires: gpg-offline
BuildRequires: junit4
+BuildRequires: mozilla-nss
%if %with maven
BuildRequires: apache-commons-parent >= 12
@@ -98,23 +88,12 @@
Javadoc for %{name}.
%prep
+%gpg_verify %{SOURCE1}
%setup -q -n %{short_name}-%{version}-src
#fixes eof encoding
sed -i 's/\r//' RELEASE-NOTES*.txt LICENSE.txt NOTICE.txt
-%if %with maven
-cp -p %{SOURCE1} settings.xml
-sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
-sed -i -e "s|<url>__JAVADIR_PLACEHOLDER__</url>|<url>file://`pwd`/external_repo</url>|g" settings.xml
-sed -i -e "s|<url>__MAVENREPO_DIR_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
-sed -i -e "s|<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/maven2/plugins</url>|g" settings.xml
-sed -i -e "s|<url>__ECLIPSEDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/eclipse/plugins</url>|g" settings.xml
-
-mkdir external_repo
-ln -s %{_javadir} external_repo/JPP
-%endif
-
%build
%if %with maven
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
@@ -127,7 +106,7 @@
%else
export CLASSPATH=$(build-classpath junit4)
-ant -v -d -Dbuild.sysclasspath=first \
+ant -Dbuild.sysclasspath=first \
-Dconf.home=src/conf \
-Dbuild.home=build \
-Dsource.home=src/main/java \
@@ -157,10 +136,9 @@
ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/jakarta-%{short_name}.jar
# Install pom file
-install -dm 755 %{buildroot}%{_datadir}/maven2/poms
-cp -p pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP-apache-commons-codec.pom
-%add_to_maven_depmap commons-codec commons-codec %{version} JPP apache-commons-codec
-%add_to_maven_depmap org.apache.commons commons-codec %{version} JPP apache-commons-codec
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom
+%add_maven_depmap JPP-%{short_name}.pom %{short_name}.jar -a "%{short_name}:%{short_name}"
# javadoc
mkdir -p %{buildroot}%{_javadocdir}/%{name}-%{version}
@@ -173,17 +151,11 @@
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/jakarta-%{short_name}
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}
-%post
-%update_maven_depmap
-
-%postun
-%update_maven_depmap
-
%files
%defattr(0644,root,root,0755)
%doc LICENSE.txt RELEASE-NOTES.txt
%{_javadir}/*.jar
-%{_datadir}/maven2/poms/*
+%{_mavenpomdir}/*
%{_mavendepmapfragdir}/*
%files javadoc
++++++ apache-commons-codec.keyring ++++++
pub 2048R/A11262CB 2011-04-12
uid Gary David Gregory (Code signing key)