Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sat4j for openSUSE:Factory checked 
in at 2023-05-28 19:24:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sat4j (Old)
 and      /work/SRC/openSUSE:Factory/.sat4j.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sat4j"

Sun May 28 19:24:05 2023 rev:21 rq:1089455 version:2.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/sat4j/sat4j.changes      2022-03-23 
20:20:11.730524443 +0100
+++ /work/SRC/openSUSE:Factory/.sat4j.new.1533/sat4j.changes    2023-05-28 
19:24:27.545539286 +0200
@@ -1,0 +2,6 @@
+Sun May 28 15:43:44 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Distribute the maven metadata, so that the artifacts can be used
+  by maven builds.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sat4j.spec ++++++
--- /var/tmp/diff_new_pack.z1qT6F/_old  2023-05-28 19:24:27.937541618 +0200
+++ /var/tmp/diff_new_pack.z1qT6F/_new  2023-05-28 19:24:27.941541642 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sat4j
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,7 +31,7 @@
 Patch1:         sat4j-manifest.patch
 BuildRequires:  ant
 BuildRequires:  java-devel >= 1.8
-BuildRequires:  javapackages-local
+BuildRequires:  javapackages-local >= 6
 Requires:       java >= 1.8
 BuildArch:      noarch
 
@@ -46,17 +46,25 @@
 %patch0 -p1
 %patch1 -p1
 
+%pom_xpath_remove "pom:dependency[pom:type[text()='test-jar']]" org.sat4j.pb
+
 %build
 ant \
     -Dbuild.compiler=modern -Drelease=%{version} \
        -DBUILD_DATE=%{qualifier} -Dsource=1.8 -Dtarget=1.8 p2
 
 %install
+#jar
 install -d -m 755 %{buildroot}%{_javadir}
 install -m 0644 dist/%{version}/org.sat4j.core.jar 
%{buildroot}%{_javadir}/org.sat4j.core.jar
 install -m 0644 dist/%{version}/org.sat4j.pb.jar   
%{buildroot}%{_javadir}/org.sat4j.pb.jar
+#pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+%{mvn_install_pom} org.sat4j.core/pom.xml 
%{buildroot}%{_mavenpomdir}/org.sat4j.core.pom
+%add_maven_depmap org.sat4j.core.pom org.sat4j.core.jar
+%{mvn_install_pom} org.sat4j.pb/pom.xml 
%{buildroot}%{_mavenpomdir}/org.sat4j.pb.pom
+%add_maven_depmap org.sat4j.pb.pom org.sat4j.pb.jar
 
-%files
-%{_javadir}/*.jar
+%files -f .mfiles
 
 %changelog

Reply via email to