Hello community,
here is the log from the commit of package log4j for openSUSE:Factory checked in at 2018-11-06 14:15:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/log4j (Old)
and /work/SRC/openSUSE:Factory/.log4j.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "log4j"
Tue Nov 6 14:15:52 2018 rev:23 rq:644637 version:1.2.17
Changes:
--------
--- /work/SRC/openSUSE:Factory/log4j/log4j.changes 2018-08-07 09:39:49.660970270 +0200
+++ /work/SRC/openSUSE:Factory/.log4j.new/log4j.changes 2018-11-06 14:16:43.966475707 +0100
@@ -1,0 +2,5 @@
+Thu Oct 18 11:50:32 UTC 2018 - Fridrich Strba
+
+- Install and package the maven pom and metadata files
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ log4j-mini.spec ++++++
--- /var/tmp/diff_new_pack.HV7nYN/_old 2018-11-06 14:16:50.686466754 +0100
+++ /var/tmp/diff_new_pack.HV7nYN/_new 2018-11-06 14:16:50.690466748 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
++++++ log4j.spec ++++++
--- /var/tmp/diff_new_pack.HV7nYN/_old 2018-11-06 14:16:50.710466722 +0100
+++ /var/tmp/diff_new_pack.HV7nYN/_new 2018-11-06 14:16:50.714466716 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -46,6 +46,7 @@
Patch3: %{real}-reproducible.patch
BuildRequires: ant
BuildRequires: java-devel >= 1.8
+BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: jndi
BuildRequires: perl
@@ -133,7 +134,13 @@
mkdir -p %{buildroot}%{_javadir}
cp -a dist/lib/log4j-%{version}.jar %{buildroot}%{_javadir}
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+
%if ! %{bootstrap}
+#pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
+%add_maven_depmap %{name}.pom %{name}.jar
+
# javadoc
mkdir -p %{buildroot}%{_javadocdir}/%{name}
cp -a docs/api/* %{buildroot}%{_javadocdir}/%{name}
@@ -203,8 +210,14 @@
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/sgml/%{name}
-
%if ! %{bootstrap}
+%{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
+
%files manual
%doc docs/* contribs