Accepting request 1148802 from Java:packages
rpm 4.20 compat OBS-URL: https://build.opensuse.org/request/show/1148802 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xalan-j2?expand=0&rev=32
This commit is contained in:
commit
d2dcaf9e64
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 21 16:24:59 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 31 08:42:41 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package xalan-j2
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -41,7 +41,7 @@ BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-cup-bootstrap
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-local >= 6
|
||||
BuildRequires: jlex
|
||||
BuildRequires: regexp
|
||||
BuildRequires: servletapi5
|
||||
@ -109,10 +109,10 @@ This package contains demonstration and sample files for Xalan.
|
||||
|
||||
%prep
|
||||
%setup -q -n xalan-j_%{cvs_version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch -P 0 -p1
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
# Remove all binary libs, except ones needed to build docs and N/A elsewhere.
|
||||
for j in $(find . -name "*.jar"); do
|
||||
mv $j $j.no
|
||||
@ -121,9 +121,6 @@ mv tools/xalan2jdoc.jar.no tools/xalan2jdoc.jar
|
||||
mv tools/xalan2jtaglet.jar.no tools/xalan2jtaglet.jar
|
||||
dos2unix KEYS LICENSE.txt NOTICE.txt xdocs/sources/xsltc/README.xsltc xdocs/sources/xsltc/README.xslt
|
||||
|
||||
cp %{SOURCE1} xalan.pom
|
||||
cp %{SOURCE2} serializer.pom
|
||||
|
||||
%build
|
||||
if [ ! -e "$JAVA_HOME" ] ; then export JAVA_HOME="%{java_home}" ; fi
|
||||
pushd lib
|
||||
@ -168,11 +165,11 @@ install -p -m 644 build/serializer.jar \
|
||||
|
||||
# pom
|
||||
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
||||
install -p -m 644 xalan.pom %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
|
||||
%add_maven_depmap %{name}.pom %{name}.jar
|
||||
install -p -m 644 serializer.pom %{buildroot}%{_mavenpomdir}/%{name}-serializer.pom
|
||||
%{mvn_install_pom} %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}-serializer.pom
|
||||
%add_maven_depmap %{name}-serializer.pom %{name}-serializer.jar
|
||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_mavenpomdir}/xsltc.pom
|
||||
%{mvn_install_pom} %{SOURCE3} %{buildroot}%{_mavenpomdir}/xsltc.pom
|
||||
%add_maven_depmap xsltc.pom xsltc.jar -f xsltc
|
||||
|
||||
# demo
|
||||
|
Loading…
Reference in New Issue
Block a user