Hello community,

here is the log from the commit of package args4j for openSUSE:Factory checked 
in at 2018-10-29 14:22:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/args4j (Old)
 and      /work/SRC/openSUSE:Factory/.args4j.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "args4j"

Mon Oct 29 14:22:13 2018 rev:6 rq:644924 version:2.0.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/args4j/args4j.changes    2018-07-07 
21:59:06.971263038 +0200
+++ /work/SRC/openSUSE:Factory/.args4j.new/args4j.changes       2018-10-29 
14:58:42.746003504 +0100
@@ -1,0 +2,6 @@
+Fri Oct 19 17:38:13 UTC 2018 - Fridrich Strba <[email protected]>
+
+- Download from maven central the corresponding pom file and
+  install it.
+
+-------------------------------------------------------------------

New:
----
  args4j-2.0.9.pom

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

Other differences:
------------------
++++++ args4j.spec ++++++
--- /var/tmp/diff_new_pack.bwP62G/_old  2018-10-29 14:58:43.146004101 +0100
+++ /var/tmp/diff_new_pack.bwP62G/_new  2018-10-29 14:58:43.146004101 +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,6 +24,7 @@
 Group:          Development/Libraries/Java
 Url:            http://args4j.kohsuke.org/
 Source0:        %{name}-%{version}.tar.bz2
+Source1:        
http://central.maven.org/maven2/args4j/%{name}/%{version}/%{name}-%{version}.pom
 BuildRequires:  ant >= 1.7.0
 BuildRequires:  ant-apache-regexp
 BuildRequires:  ant-contrib
@@ -31,6 +32,7 @@
 BuildRequires:  ant-nodeps
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
+BuildRequires:  javapackages-local
 BuildRequires:  javapackages-tools
 Requires:       java >= 1.8
 BuildArch:      noarch
@@ -64,6 +66,11 @@
 install -m 644 dist/%{name}.jar  %{buildroot}%{_javadir}/%{name}-%{version}.jar
 ln -sf %{_javadir}/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
 
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
+%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
+
 # Java doc
 install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
 cp -pr dist/javadoc %{buildroot}%{_javadocdir}/%{name}/
@@ -71,6 +78,12 @@
 
 %files
 %{_javadir}/*
+%{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
 
 %files javadoc
 %{_javadocdir}/%{name}

++++++ args4j-2.0.9.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>args4j</groupId>
    <artifactId>args4j-site</artifactId>
    <version>2.0.9</version>
    <relativePath>../pom.xml</relativePath>
  </parent>
  <artifactId>args4j</artifactId>
  <name>args4j</name>
  
  <build>
    <sourceDirectory>src</sourceDirectory>
    <testSourceDirectory>test</testSourceDirectory>
    <resources>
      <resource>
        <directory>src</directory>
        <includes>
          <include>**/*.properties</include>
          <include>META-INF/services/*</include>
        </includes>
      </resource>
    </resources>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

Reply via email to