Hello community,
here is the log from the commit of package jzlib for openSUSE:Factory checked in at 2018-12-07 14:31:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jzlib (Old)
and /work/SRC/openSUSE:Factory/.jzlib.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jzlib"
Fri Dec 7 14:31:03 2018 rev:22 rq:653649 version:1.1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/jzlib/jzlib.changes 2017-09-13 22:21:13.660537505 +0200
+++ /work/SRC/openSUSE:Factory/.jzlib.new.19453/jzlib.changes 2018-12-07 14:31:05.719391592 +0100
@@ -1,0 +2,5 @@
+Sun Nov 25 17:24:33 UTC 2018 - Fridrich Strba
+
+- Install as maven artifact
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jzlib.spec ++++++
--- /var/tmp/diff_new_pack.qpqLwH/_old 2018-12-07 14:31:06.223390966 +0100
+++ /var/tmp/diff_new_pack.qpqLwH/_new 2018-12-07 14:31:06.223390966 +0100
@@ -1,7 +1,7 @@
#
# spec file for package jzlib
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -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/
#
@@ -27,7 +27,7 @@
Source1: %{name}_build.xml
BuildRequires: ant >= 1.6
BuildRequires: java-devel
-BuildRequires: javapackages-tools
+BuildRequires: javapackages-local
Obsoletes: %{name}-javadoc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -64,6 +64,11 @@
install -Dpm 644 dist/lib/%{name}.jar \
%{buildroot}%{_javadir}/%{name}.jar
+# pom
+install -Dpm 644 pom.xml \
+ %{buildroot}%{_mavenpomdir}/%{name}.pom
+%add_maven_depmap %{name}.pom %{name}.jar
+
# examples
install -dm 755 %{buildroot}%{_datadir}/%{name}-%{version}
cp -pr example/* %{buildroot}%{_datadir}/%{name}-%{version}
@@ -71,6 +76,8 @@
%files
%defattr(0644,root,root,0755)
%{_javadir}/%{name}.jar
+%{_mavenpomdir}/%{name}.pom
+%{_datadir}/maven-metadata/%{name}.xml
%doc LICENSE.txt
%files demo