Sync from SUSE:SLFO:Main javassist revision bdfcd0133c6f17d4f3be3818f1acaaf8

This commit is contained in:
Adrian Schröter 2024-05-31 14:42:42 +02:00
parent 94d88f9244
commit ef5b7c1119
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 09:42:17 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Tue Jun 6 16:20:35 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package javassist
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2000-2005, JPackage Project
#
# All modifications and additions to the file contributed by third parties
@ -78,9 +78,9 @@ Tutorial for javassist.
%prep
%setup -q -n %{name}-%{tar_version}
%if %{!?pkg_vcmp:1}%{?pkg_vcmp:%pkg_vcmp java-devel < 9}
%patch0 -p1
%patch -P 0 -p1
%endif
%patch1 -p1
%patch -P 1 -p1
find . -name "*.jar" -print -delete
%build
@ -93,7 +93,7 @@ cp -p %{name}.jar %{buildroot}/%{_javadir}/%{name}.jar
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar -a javassist:javassist
# demo