Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package typesafe-config for openSUSE:Factory
checked in at 2024-02-22 20:58:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/typesafe-config (Old)
and /work/SRC/openSUSE:Factory/.typesafe-config.new.1706 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "typesafe-config"
Thu Feb 22 20:58:16 2024 rev:7 rq:1148921 version:1.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/typesafe-config/typesafe-config.changes
2022-04-20 16:54:53.082485998 +0200
+++
/work/SRC/openSUSE:Factory/.typesafe-config.new.1706/typesafe-config.changes
2024-02-22 20:59:03.288345529 +0100
@@ -1,0 +2,5 @@
+Wed Feb 21 17:10:08 UTC 2024 - Fridrich Strba <[email protected]>
+
+- Use %patch -P N instead of deprecated %patchN.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ typesafe-config.spec ++++++
--- /var/tmp/diff_new_pack.Opniqk/_old 2024-02-22 20:59:03.780363516 +0100
+++ /var/tmp/diff_new_pack.Opniqk/_new 2024-02-22 20:59:03.780363516 +0100
@@ -1,7 +1,7 @@
#
# spec file for package typesafe-config
#
-# 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
@@ -28,13 +28,12 @@
Patch0: fix-doc-lint.patch
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
-BuildRequires: javapackages-local
+BuildRequires: javapackages-local >= 6
+BuildArch: noarch
%if 0%{?rhel} >= 9
BuildRequires: xmvn-tools
%endif
-BuildArch: noarch
-
%description
Configuration library for JVM languages.
@@ -47,7 +46,7 @@
%prep
%setup -q -n config-%{version}
-%patch0 -p1
+%patch -P 0 -p1
%build
pushd config
@@ -72,7 +71,7 @@
popd
cp %{SOURCE1} .
-%mvn_artifact config-%{version}.pom config/target/config.jar
+%{mvn_artifact} config-%{version}.pom config/target/config.jar
%install
%if 0%{?rhel}
@@ -83,7 +82,7 @@
install -pm 644 config/target/config.jar %{buildroot}%{_javadir}/%{name}.jar
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
+%{mvn_install_pom} %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom %{name}.jar
%endif