Sync from SUSE:SLFO:Main bsf revision a04fe6cbd2e80d2a0c7089d63c52573d
This commit is contained in:
parent
201043f97e
commit
4b78c3d9ea
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 08:27:05 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 8 07:30:23 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
Wed Jan 8 07:30:23 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
14
bsf.spec
14
bsf.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bsf
|
# spec file for package bsf
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@ -22,7 +22,7 @@ Release: 0
|
|||||||
Summary: Bean Scripting Framework
|
Summary: Bean Scripting Framework
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
URL: http://commons.apache.org/bsf/
|
URL: https://commons.apache.org/bsf/
|
||||||
Source0: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz
|
Source0: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz
|
||||||
Source1: bsf-pom.xml
|
Source1: bsf-pom.xml
|
||||||
Source1000: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz.asc
|
Source1000: http://www.apache.org/dist/commons/bsf/source/%{name}-src-%{version}.tar.gz.asc
|
||||||
@ -33,11 +33,10 @@ BuildRequires: ant
|
|||||||
BuildRequires: apache-commons-logging
|
BuildRequires: apache-commons-logging
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: java-devel >= 1.8
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: rhino
|
BuildRequires: rhino
|
||||||
BuildRequires: xalan-j2
|
BuildRequires: xalan-j2
|
||||||
#!BuildIgnore: jline1
|
#!BuildIgnore: jline1
|
||||||
Requires: mvn(commons-logging:commons-logging)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -83,8 +82,8 @@ Framework.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch -P 0 -p1
|
||||||
%patch1 -p1
|
%patch -P 1 -p1
|
||||||
find -name \*.jar -delete
|
find -name \*.jar -delete
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -99,7 +98,8 @@ install -m 644 build/lib/%{name}.jar \
|
|||||||
%{buildroot}%{_javadir}/%{name}.jar
|
%{buildroot}%{_javadir}/%{name}.jar
|
||||||
|
|
||||||
# pom and depmap frag
|
# pom and depmap frag
|
||||||
install -DTm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||||
|
%{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.apache.bsf:%{name}"
|
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a "org.apache.bsf:%{name}"
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
|
Loading…
Reference in New Issue
Block a user