Accepting request 963170 from Java:packages
Build with source/target levels 8 OBS-URL: https://build.opensuse.org/request/show/963170 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bouncycastle?expand=0&rev=32
This commit is contained in:
commit
fef5f17937
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 18 18:47:50 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with source/target levels 8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 17 03:36:32 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Add glassfish-activation-api dependency so that we can build with
|
||||||
|
JDK that does not contain the JavaEE modules
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 27 16:03:32 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
Tue Jul 27 16:03:32 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bouncycastle
|
# spec file for package bouncycastle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -47,6 +47,9 @@ Requires(post): javapackages-tools
|
|||||||
Requires(postun):javapackages-tools
|
Requires(postun):javapackages-tools
|
||||||
Provides: bcprov = %{version}-%{release}
|
Provides: bcprov = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
BuildRequires: glassfish-activation-api
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Bouncy Castle Crypto package is a Java implementation of cryptographic
|
The Bouncy Castle Crypto package is a Java implementation of cryptographic
|
||||||
@ -122,10 +125,14 @@ find . -type f -name "*.jar" -exec rm -f {} \;
|
|||||||
echo "package.version:\ %{version}" >> bc-build.properties
|
echo "package.version:\ %{version}" >> bc-build.properties
|
||||||
echo "bundle.version:\ %{version}.0" >> bc-build.properties
|
echo "bundle.version:\ %{version}.0" >> bc-build.properties
|
||||||
ant -f ant/jdk15+.xml \
|
ant -f ant/jdk15+.xml \
|
||||||
-Dbc.javac.source=6 -Dbc.javac.target=6 \
|
-Dbc.javac.source=8 -Dbc.javac.target=8 \
|
||||||
-Djunit.jar.home=$(build-classpath junit) \
|
-Djunit.jar.home=$(build-classpath junit) \
|
||||||
-Dmail.jar.home=$(build-classpath javax.mail) \
|
-Dmail.jar.home=$(build-classpath javax.mail) \
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
-Dactivation.jar.home=$(build-classpath glassfish-activation-api) \
|
||||||
|
%else
|
||||||
-Dactivation.jar.home= \
|
-Dactivation.jar.home= \
|
||||||
|
%endif
|
||||||
-Drelease.debug=true \
|
-Drelease.debug=true \
|
||||||
clean build-provider build
|
clean build-provider build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user