Accepting request 788316 from Java:packages
Add OSGi manifests to the distributed jars OBS-URL: https://build.opensuse.org/request/show/788316 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bouncycastle?expand=0&rev=25
This commit is contained in:
commit
662ba6b632
72
bouncycastle-osgi.patch
Normal file
72
bouncycastle-osgi.patch
Normal file
File diff suppressed because one or more lines are too long
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 25 13:17:01 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* bouncycastle-osgi.patch
|
||||||
|
+ Add OSGi manifests to the distributed jars so that they can
|
||||||
|
be used from eclipse
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 6 18:11:54 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
Wed Nov 6 18:11:54 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bouncycastle
|
# spec file for package bouncycastle
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 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
|
||||||
@ -36,6 +36,7 @@ Source3: https://repo1.maven.org/maven2/org/%{name}/bcpg-jdk15on/%{versio
|
|||||||
Source4: https://repo1.maven.org/maven2/org/%{name}/bcmail-jdk15on/%{version}/bcmail-jdk15on-%{version}.pom
|
Source4: https://repo1.maven.org/maven2/org/%{name}/bcmail-jdk15on/%{version}/bcmail-jdk15on-%{version}.pom
|
||||||
Source5: https://repo1.maven.org/maven2/org/%{name}/bctls-jdk15on/%{version}/bctls-jdk15on-%{version}.pom
|
Source5: https://repo1.maven.org/maven2/org/%{name}/bctls-jdk15on/%{version}/bctls-jdk15on-%{version}.pom
|
||||||
Patch0: bouncycastle-javadoc.patch
|
Patch0: bouncycastle-javadoc.patch
|
||||||
|
Patch1: bouncycastle-osgi.patch
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: ant-junit
|
BuildRequires: ant-junit
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -110,12 +111,15 @@ API documentation for the Bouncy Castle Cryptography APIs.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n bc-java-%{gittag}
|
%setup -q -n bc-java-%{gittag}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
# Remove provided binaries
|
# Remove provided binaries
|
||||||
find . -type f -name "*.class" -exec rm -f {} \;
|
find . -type f -name "*.class" -exec rm -f {} \;
|
||||||
find . -type f -name "*.jar" -exec rm -f {} \;
|
find . -type f -name "*.jar" -exec rm -f {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
echo "package.version:\ %{version}" >> 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=6 -Dbc.javac.target=6 \
|
||||||
-Djunit.jar.home=$(build-classpath junit) \
|
-Djunit.jar.home=$(build-classpath junit) \
|
||||||
|
Loading…
Reference in New Issue
Block a user