Fridrich Strba 2024-02-21 14:06:57 +00:00 committed by Git OBS Bridge
parent 4393ab4c68
commit c56ca0dc0f
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 21 14:06:48 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Sun Mar 20 12:17:34 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package jzlib
#
# Copyright (c) 2022 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
@ -57,7 +57,7 @@ Group: Documentation/HTML
%prep
%setup -q
%patch0
%patch -P 0
cp %{SOURCE1} build.xml
# bnc#500524
@ -73,7 +73,8 @@ install -Dpm 644 target/%{name}-%{version}.jar \
%{buildroot}%{_javadir}/%{name}.jar
# pom
install -Dpm 644 pom.xml \
install -dm 755 %{buildroot}%{_mavenpomdir}
%mvn_install_pom pom.xml \
%{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar