Hello community, here is the log from the commit of package bouncycastle for openSUSE:Factory checked in at 2015-02-12 10:21:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bouncycastle (Old) and /work/SRC/openSUSE:Factory/.bouncycastle.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bouncycastle" Changes: -------- --- /work/SRC/openSUSE:Factory/bouncycastle/bouncycastle.changes 2014-07-16 16:49:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.bouncycastle.new/bouncycastle.changes 2015-02-12 10:21:11.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Feb 10 12:29:43 UTC 2015 - [email protected] + +- Version bump to 1.50 to match Fedora +- Cleanup with spec-cleaner + +------------------------------------------------------------------- Old: ---- bcprov-jdk16-1.46.pom bcprov-jdk16-146-FEDORA.tar.gz New: ---- bcprov-jdk15on-1.50.pom bcprov-jdk15on-150.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bouncycastle.spec ++++++ --- /var/tmp/diff_new_pack.wlWjQs/_old 2015-02-12 10:21:12.000000000 +0100 +++ /var/tmp/diff_new_pack.wlWjQs/_new 2015-02-12 10:21:12.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package bouncycastle # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,38 +16,31 @@ # -# -%define ver 1.46 -%define archivever jdk16-%(echo %{ver}|sed 's|\\\.||') +%define ver 1.50 +%define shortver 150 +%define archivever jdk15on-%{shortver} %define classname org.bouncycastle.jce.provider.BouncyCastleProvider - -Summary: Bouncy Castle Crypto Package for Java -License: MIT -Group: Development/Libraries/Java Name: bouncycastle Version: %{ver} Release: 0 -Url: http://www.%{name}.org/ -# Original source http://www.bouncycastle.org/download/bcprov-%{archivever}.tar.gz -# is modified to -# bcprov-%{archivever}-FEDORA.tar.gz with patented algorithms removed. -# Specifically: IDEA algorithms got removed. -Source0: bcprov-%{archivever}-FEDORA.tar.gz -#Source1: http://repo2.maven.org/maven2/org/bouncycastle/bcprov-jdk16/%{version}/bcprov-jdk16-%{version}.pom -Source1: bcprov-jdk16-%{version}.pom -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: javapackages-tools -Requires(post): javapackages-tools -Requires(postun): javapackages-tools -BuildArch: noarch +Summary: Bouncy Castle Crypto Package for Java +License: MIT +Group: Development/Libraries/Java +Url: http://www.bouncycastle.org/ +Source0: http://www.bouncycastle.org/download/bcprov-%{archivever}.tar.gz +Source1: http://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/%{ver}/bcprov-jdk15on-%{ver}.pom BuildRequires: java-devel -BuildRequires: unzip +BuildRequires: javapackages-tools +BuildRequires: junit #FIXME: this is needed for initialize of NSS crypto backend, will be required (not required(post) by openjdk) BuildRequires: mozilla-nss +BuildRequires: unzip Requires: java -BuildRequires: junit - +Requires(post): javapackages-tools +Requires(postun): javapackages-tools Provides: bcprov = %{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description The Bouncy Castle Crypto package is a Java implementation of cryptographic @@ -58,9 +51,8 @@ %package javadoc Summary: Javadoc for %{name} Group: Development/Libraries/Java -BuildArch: noarch Requires: %{name} = %{version}-%{release} -Requires: javapackages-tools +BuildArch: noarch %description javadoc API documentation for the %{name} package. @@ -110,7 +102,7 @@ # maven pom install -dm 755 %{buildroot}%{_mavenpomdir} install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-bcprov.pom -%add_maven_depmap JPP-bcprov.pom bcprov.jar +%add_maven_depmap -a "bouncycastle:bcprov-jdk15,org.bouncycastle:bcprov-jdk16" JPP-bcprov.pom bcprov.jar %check pushd src @@ -126,7 +118,7 @@ { # Rebuild the list of security providers in classpath.security suffix=security/classpath.security - secfiles="/usr/lib/$suffix /usr/lib64/$suffix" + secfiles="%{_libexecdir}/$suffix %{_libdir}/$suffix" for secfile in $secfiles do @@ -136,7 +128,7 @@ sed -i '/^security\.provider\./d' "$secfile" count=0 - for provider in $(ls /etc/java/security/security.d) + for provider in $(ls %{_sysconfdir}/java/security/security.d) do count=$((count + 1)) echo "security.provider.${count}=${provider#*-}" >> "$secfile" @@ -150,7 +142,7 @@ { # Rebuild the list of security providers in classpath.security suffix=security/classpath.security - secfiles="/usr/lib/$suffix /usr/lib64/$suffix" + secfiles="%{_libexecdir}/$suffix %{_libdir}/$suffix" for secfile in $secfiles do @@ -160,7 +152,7 @@ sed -i '/^security\.provider\./d' "$secfile" count=0 - for provider in $(ls /etc/java/security/security.d) + for provider in $(ls %{_sysconfdir}/java/security/security.d) do count=$((count + 1)) echo "security.provider.${count}=${provider#*-}" >> "$secfile" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
