Hello community,
here is the log from the commit of package xalan-j2 for openSUSE:Factory checked in at 2018-11-10 16:47:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xalan-j2 (Old)
and /work/SRC/openSUSE:Factory/.xalan-j2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xalan-j2"
Sat Nov 10 16:47:34 2018 rev:25 rq:646979 version:2.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/xalan-j2/xalan-j2.changes 2017-10-06 10:55:10.880355394 +0200
+++ /work/SRC/openSUSE:Factory/.xalan-j2.new/xalan-j2.changes 2018-11-10 16:47:40.988622118 +0100
@@ -1,0 +2,5 @@
+Wed Nov 7 13:13:56 UTC 2018 - Fridrich Strba
+
+- Add maven pom files for xalan-j2 and the serializer
+
+-------------------------------------------------------------------
New:
----
serializer-2.7.2.pom
xalan-2.7.2.pom
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ xalan-j2.spec ++++++
--- /var/tmp/diff_new_pack.qdCyBu/_old 2018-11-10 16:47:41.580621366 +0100
+++ /var/tmp/diff_new_pack.qdCyBu/_new 2018-11-10 16:47:41.580621366 +0100
@@ -1,7 +1,7 @@
#
# spec file for package xalan-j2
#
-# 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/
#
@@ -25,6 +25,8 @@
Group: Development/Libraries/Java
Url: http://xalan.apache.org/index.html
Source0: http://www.apache.org/dist/xalan/xalan-j/source/xalan-j_%{cvs_version}-src.tar.gz
+Source1: http://repo1.maven.org/maven2/xalan/xalan/%{version}/xalan-%{version}.pom
+Source2: http://repo1.maven.org/maven2/xalan/serializer/%{version}/serializer-%{version}.pom
Patch0: %{name}-noxsltcdeps.patch
Patch1: %{name}-manifest.patch
Patch2: %{name}-crosslink.patch
@@ -35,6 +37,7 @@
BuildRequires: fdupes
BuildRequires: java-cup-bootstrap
BuildRequires: java-devel >= 1.6
+BuildRequires: javapackages-local
BuildRequires: jlex
BuildRequires: servletapi5
BuildRequires: xml-commons-apis-bootstrap
@@ -147,6 +150,13 @@
install -p -m 644 build/serializer.jar \
%{buildroot}%{_javadir}/%{name}-serializer-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
+%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
+install -p -m 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}-serializer-%{version}.pom
+%add_maven_depmap %{name}-serializer-%{version}.pom %{name}-serializer-%{version}.jar
+
# demo
install -d -m 755 %{buildroot}%{_datadir}/%{name}
install -p -m 644 build/xalansamples.jar \
@@ -184,6 +194,12 @@
%config %{_sysconfdir}/ant.d/serializer
%ghost %{_sysconfdir}/alternatives/jaxp_transform_impl.jar
%{_javadir}/jaxp_transform_impl.jar
+%{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
%files xsltc
%defattr(0644,root,root,0755)
++++++ serializer-2.7.2.pom ++++++
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>4</version>
</parent>
<groupId>xalan</groupId>
<artifactId>serializer</artifactId>
<version>2.7.2</version>
<name>Xalan Java Serializer</name>
<description>
Serializer to write out XML, HTML etc. as a stream of characters from an input DOM or from input
SAX events.
</description>
<url>http://xml.apache.org/xalan-j/</url>
<dependencies>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.04</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.1</version>
<optional>true</optional>
</dependency>
</dependencies>
</project>
++++++ xalan-2.7.2.pom ++++++
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>4</version>
</parent>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>2.7.2</version>
<name>Xalan Java</name>
<description>
Xalan-Java is an XSLT processor for transforming XML documents into HTML,
text, or other XML document types. It implements XSL Transformations (XSLT)
Version 1.0 and XML Path Language (XPath) Version 1.0 and can be used from
the command line, in an applet or a servlet, or as a module in other program.
</description>
<url>http://xml.apache.org/xalan-j/</url>
<dependencies>
<dependency>
<groupId>xalan</groupId>
<artifactId>serializer</artifactId>
<version>2.7.2</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.9.1</version>
<optional>true</optional>
</dependency>
</dependencies>
</project>