Sync from SUSE:SLFO:Main jzlib revision d20269eb7fa9340f40542f5c0f5a1831

This commit is contained in:
Adrian Schröter 2024-05-31 14:46:40 +02:00
parent 354baef5cb
commit cf2cc6cbb3
2 changed files with 10 additions and 4 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> Sun Mar 20 12:17:34 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package jzlib # 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 # 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
@ -30,7 +30,7 @@ Patch0: jzlib-javadoc-fixes.patch
BuildRequires: ant >= 1.6 BuildRequires: ant >= 1.6
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: java-devel BuildRequires: java-devel
BuildRequires: javapackages-local BuildRequires: javapackages-local >= 6
BuildArch: noarch BuildArch: noarch
%description %description
@ -57,7 +57,7 @@ Group: Documentation/HTML
%prep %prep
%setup -q %setup -q
%patch0 %patch -P 0
cp %{SOURCE1} build.xml cp %{SOURCE1} build.xml
# bnc#500524 # bnc#500524
@ -73,7 +73,8 @@ install -Dpm 644 target/%{name}-%{version}.jar \
%{buildroot}%{_javadir}/%{name}.jar %{buildroot}%{_javadir}/%{name}.jar
# pom # pom
install -Dpm 644 pom.xml \ install -dm 755 %{buildroot}%{_mavenpomdir}
%{mvn_install_pom} pom.xml \
%{buildroot}%{_mavenpomdir}/%{name}.pom %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar %add_maven_depmap %{name}.pom %{name}.jar