Accepting request 732197 from Java:packages
Make actually work with maven OBS-URL: https://build.opensuse.org/request/show/732197 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jsch?expand=0&rev=22
This commit is contained in:
commit
76dcd46398
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 20 13:37:00 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Remove reference to the parent from pom file, since we are not
|
||||
building with maven
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 8 08:31:01 UTC 2017 - fstrba@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jsch
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -31,7 +31,6 @@ Patch0: jsch-0.1.54-sourcetarget.patch
|
||||
BuildRequires: ant
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: jzlib
|
||||
BuildRequires: unzip
|
||||
BuildRequires: zip
|
||||
@ -65,6 +64,8 @@ functionality into your own Java programs.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
cp %{SOURCE3} pom.xml
|
||||
%pom_remove_parent
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath jzlib)
|
||||
@ -93,7 +94,7 @@ cp -pr examples/* %{buildroot}%{_datadir}/%{name}
|
||||
|
||||
# POM and depmap
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
install -p -m 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||
%add_maven_depmap
|
||||
|
||||
%files
|
||||
|
Loading…
x
Reference in New Issue
Block a user