Hello community,
here is the log from the commit of package apache-commons-jxpath for
openSUSE:Factory checked in at 2018-10-29 14:22:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-jxpath (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-jxpath.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-jxpath"
Mon Oct 29 14:22:35 2018 rev:6 rq:645028 version:1.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-jxpath/apache-commons-jxpath.changes
2018-07-07 21:58:09.891335412 +0200
+++
/work/SRC/openSUSE:Factory/.apache-commons-jxpath.new/apache-commons-jxpath.changes
2018-10-29 14:58:54.866020304 +0100
@@ -1,0 +2,6 @@
+Sat Oct 20 13:03:03 UTC 2018 - Fridrich Strba <[email protected]>
+
+- Install the provided pom.xml file and generate the mvn(...)
+ provides
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-jxpath.spec ++++++
--- /var/tmp/diff_new_pack.8zBgmR/_old 2018-10-29 14:58:55.330020895 +0100
+++ /var/tmp/diff_new_pack.8zBgmR/_new 2018-10-29 14:58:55.334020900 +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/
#
@@ -24,7 +24,7 @@
Summary: Simple XPath interpreter
License: Apache-2.0
Group: Development/Libraries/Java
-Url: http://commons.apache.org/%{base_name}/
+URL: http://commons.apache.org/%{base_name}/
Source0:
http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz
Source1: %{short_name}.depmap
Patch0: %{short_name}-mockrunner.patch
@@ -33,6 +33,7 @@
BuildRequires: apache-commons-beanutils
BuildRequires: el_api >= 3.0
BuildRequires: java-devel >= 1.8
+BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: jdom
BuildRequires: jsp
@@ -80,9 +81,20 @@
done
popd # come back from javadir
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}/%{last_path_segment}/
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
+%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
+
%files
%defattr(0644,root,root,0755)
-%doc LICENSE.txt
+%license LICENSE.txt
%{_javadir}/*.jar
+%{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
%changelog