- Version bump to 1.50 to match Fedora

OBS-URL: https://build.opensuse.org/package/show/Java:packages/bouncycastle?expand=0&rev=19
This commit is contained in:
Tomáš Chvátal 2015-02-10 12:31:42 +00:00 committed by Git OBS Bridge
parent 0529a25e58
commit 613b540847
5 changed files with 33 additions and 23 deletions

View File

@ -2,11 +2,11 @@
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk16</artifactId>
<artifactId>bcprov-jdk15on</artifactId>
<packaging>jar</packaging>
<name>Bouncy Castle Provider</name>
<version>1.45</version>
<description>The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.6.</description>
<version>1.50</version>
<description>The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.7.</description>
<url>http://www.bouncycastle.org/java.html</url>
<licenses>
<license>
@ -16,6 +16,17 @@
</license>
</licenses>
<scm>
<url>http://www.bouncycastle.org/viewcvs/viewcvs.cgi/java</url>
<url>https://github.com/bcgit/bc-java</url>
</scm>
</project>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/bcgit/bc-java/issues?state=open</url>
</issueManagement>
<developers>
<developer>
<id>feedback-crypto</id>
<name>The Legion of the Bouncy Castle Inc.</name>
<email>feedback-crypto@bouncycastle.org</email>
</developer>
</developers>
</project>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:468259c9166fbcf87ad284ae46fae45408cb7cfc9c406862ea75d5b8696f4f2a
size 4629743

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 10 12:29:43 UTC 2015 - tchvatal@suse.com
- Version bump to 1.50 to match Fedora
-------------------------------------------------------------------
Mon Jul 7 14:57:54 UTC 2014 - tchvatal@suse.com

View File

@ -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
@ -17,9 +17,10 @@
#
%define ver 1.46
%define archivever jdk16-%(echo %{ver}|sed 's|\\\.||')
%define classname org.bouncycastle.jce.provider.BouncyCastleProvider
%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
@ -27,14 +28,9 @@ 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
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: javapackages-tools
Requires(post): javapackages-tools
@ -46,7 +42,6 @@ BuildRequires: unzip
BuildRequires: mozilla-nss
Requires: java
BuildRequires: junit
Provides: bcprov = %{version}-%{release}
%description
@ -60,7 +55,6 @@ Summary: Javadoc for %{name}
Group: Development/Libraries/Java
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: javapackages-tools
%description javadoc
API documentation for the %{name} package.
@ -110,7 +104,7 @@ cp -pr docs/* %{buildroot}%{_javadocdir}/%{name}
# 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