Hello community,

here is the log from the commit of package xpp3 for openSUSE:Factory checked in 
at 2018-11-08 09:40:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xpp3 (Old)
 and      /work/SRC/openSUSE:Factory/.xpp3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xpp3"

Thu Nov  8 09:40:02 2018 rev:19 rq:644970 version:1.1.4c

Changes:
--------
--- /work/SRC/openSUSE:Factory/xpp3/xpp3.changes        2017-09-13 
22:27:02.323452568 +0200
+++ /work/SRC/openSUSE:Factory/.xpp3.new/xpp3.changes   2018-11-08 
09:40:06.421686741 +0100
@@ -1,0 +2,5 @@
+Fri Oct 19 20:38:27 UTC 2018 - Fridrich Strba <[email protected]>
+
+- Install maven pom files and generate mvn(...) provides
+
+-------------------------------------------------------------------

New:
----
  xpp3-1.1.4c.pom
  xpp3_min-1.1.4c.pom
  xpp3_xpath-1.1.4c.pom

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

Other differences:
------------------
++++++ xpp3.spec ++++++
--- /var/tmp/diff_new_pack.vAr56K/_old  2018-11-08 09:40:07.065685996 +0100
+++ /var/tmp/diff_new_pack.vAr56K/_new  2018-11-08 09:40:07.069685992 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xpp3
 #
-# 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/
 #
 
 
@@ -24,8 +24,12 @@
 Group:          Development/Libraries/Java
 Url:            http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html
 Source0:        
http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/xpp3-%{version}_src.tgz
+Source1:        
http://central.maven.org/maven2/xpp3/xpp3/%{version}/xpp3-%{version}.pom
+Source2:        
http://central.maven.org/maven2/xpp3/xpp3_min/%{version}/xpp3_min-%{version}.pom
+Source3:        
http://central.maven.org/maven2/xpp3/xpp3_xpath/%{version}/xpp3_xpath-%{version}.pom
 Patch0:         xpp3-sourcetarget.patch
 BuildRequires:  ant >= 1.6
+BuildRequires:  javapackages-local
 BuildRequires:  javapackages-tools
 BuildRequires:  junit
 BuildRequires:  perl
@@ -87,6 +91,15 @@
 cp -pr doc/api/* %{buildroot}%{_javadocdir}/%{name}
 rm -rf doc/{build.txt,api}
 
+# Install pom file
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}.pom
+install -p -m 644 %{SOURCE2} %{buildroot}%{_mavenpomdir}/%{name}-minimal.pom
+install -p -m 644 %{SOURCE3} %{buildroot}%{_mavenpomdir}/%{name}-xpath.pom
+%add_maven_depmap %{name}.pom %{name}.jar
+%add_maven_depmap %{name}-minimal.pom %{name}-minimal.jar -f minimal
+%add_maven_depmap %{name}-xpath.pom %{name}-xpath.jar -f xpath
+
 %files
 %defattr(0644,root,root,0755)
 %doc README.html LICENSE.txt doc/*
@@ -94,11 +107,26 @@
 %{_javadir}/%{name}-%{version}.jar
 %{_javadir}/%{name}-xpath.jar
 %{_javadir}/%{name}-xpath-%{version}.jar
+%{_mavenpomdir}/%{name}.pom
+%{_mavenpomdir}/%{name}-xpath.pom
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%{_mavendepmapfragdir}/%{name}-xpath
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%{_datadir}/maven-metadata/%{name}-xpath.xml*
+%endif
 
 %files minimal
 %defattr(0644,root,root,0755)
 %{_javadir}/%{name}-minimal.jar
 %{_javadir}/%{name}-minimal-%{version}.jar
+%{_mavenpomdir}/%{name}-minimal.pom
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}-minimal
+%else
+%{_datadir}/maven-metadata/%{name}-minimal.xml*
+%endif
 
 %files javadoc
 %defattr(0644,root,root,0755)

++++++ xpp3-1.1.4c.pom ++++++
<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>
    <groupId>xpp3</groupId>
    <artifactId>xpp3</artifactId>
    <version>1.1.4c</version>
    <packaging>jar</packaging>
    <name>MXP1: Xml Pull Parser 3rd Edition (XPP3)</name>
    <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/</url>
    <description>MXP1 is a stable XmlPull parsing engine that is based on ideas 
from XPP and in particular XPP2 but completely revised and rewritten to take 
the best advantage of latest JIT JVMs such as Hotspot in JDK 1.4+.</description>
    <licenses>
        <license>
            <name>Indiana University Extreme! Lab Software License, vesion 
1.1.1</name>
            
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt</url>
            <distribution>repo</distribution>
            <comments>The license applies to the Xpp3 classes (all classes 
below the org.xmlpull package with exception of classes directly in package 
org.xmlpull.v1 )</comments>
        </license>
        <license>
            <name>Public Domain</name>
            <url>http://creativecommons.org/licenses/publicdomain</url>
            <distribution>repo</distribution>
            <comments>The license applies to the XmlPull API (all classes 
directly in the org.xmlpull.v1 package)</comments>
        </license>
        <license>
            <name>Apache Software License, version 1.1</name>
            <url>http://www.apache.org/licenses/LICENSE-1.1</url>
            <distribution>repo</distribution>
            <comments>The license applies to the class 
javax.xml.namespace.QName</comments>
        </license>
    </licenses>
    <scm>
        <url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/</url>
    </scm>
    <organization>
        <name>Extreme! Lab, Indiana University</name>
        <url>http://www.extreme.indiana.edu/</url>
    </organization>
    <dependencies/>
</project>
++++++ xpp3_min-1.1.4c.pom ++++++
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>xpp3</groupId>
    <artifactId>xpp3_min</artifactId>
    <version>1.1.4c</version>
    <packaging>jar</packaging>
    <name>MXP1: Xml Pull Parser 3rd Edition (XPP3)</name>
    <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/</url>
    <description>MXP1 is a stable XmlPull parsing engine that is based on ideas 
from XPP and in particular XPP2 but completely revised and rewritten to take 
the best advantage of latest JIT JVMs such as Hotspot in JDK 1.4+.</description>
    <licenses>
        <license>
            <name>Indiana University Extreme! Lab Software License, vesion 
1.1.1</name>
            
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt</url>
            <distribution>repo</distribution>
            <comments>The license applies to the Xpp3 classes (all classes 
below the org.xmlpull package with exception of classes directly in package 
org.xmlpull.v1 )</comments>
        </license>
        <license>
            <name>Public Domain</name>
            <url>http://creativecommons.org/licenses/publicdomain</url>
            <distribution>repo</distribution>
            <comments>The license applies to the XmlPull API (all classes 
directly in the org.xmlpull.v1 package)</comments>
        </license>
    </licenses>
    <scm>
        <url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/</url>
    </scm>
    <organization>
        <name>Extreme! Lab, Indiana University</name>
        <url>http://www.extreme.indiana.edu/</url>
    </organization>
    <dependencies/>
</project>
++++++ xpp3_xpath-1.1.4c.pom ++++++
<project>
    <modelVersion>4.0.0</modelVersion>
    <groupId>xpp3</groupId>
    <artifactId>xpp3_xpath</artifactId>
    <version>1.1.4c</version>
    <packaging>jar</packaging>
    <name>MXP1: Xml Pull Parser 3rd Edition (XPP3)</name>
    <url>http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/</url>
    <description>MXP1 is a stable XmlPull parsing engine that is based on ideas 
from XPP and in particular XPP2 but completely revised and rewritten to take 
the best advantage of latest JIT JVMs such as Hotspot in JDK 1.4+.</description>
    <licenses>
        <license>
            <name>Indiana University Extreme! Lab Software License, vesion 
1.1.1</name>
            
<url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/LICENSE.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <scm>
        <url>http://www.extreme.indiana.edu/viewcvs/~checkout~/XPP3/java/</url>
    </scm>
    <organization>
        <name>Extreme! Lab, Indiana University</name>
        <url>http://www.extreme.indiana.edu/</url>
    </organization>
    <dependencies/>
</project>

Reply via email to