Hello community,

here is the log from the commit of package jdepend for openSUSE:Factory checked 
in at 2018-12-07 14:32:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jdepend (Old)
 and      /work/SRC/openSUSE:Factory/.jdepend.new.19453 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jdepend"

Fri Dec  7 14:32:23 2018 rev:18 rq:653823 version:2.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/jdepend/jdepend.changes  2017-09-13 
22:20:44.300670843 +0200
+++ /work/SRC/openSUSE:Factory/.jdepend.new.19453/jdepend.changes       
2018-12-07 14:32:27.527290067 +0100
@@ -1,0 +2,5 @@
+Tue Nov 27 11:20:17 UTC 2018 - Fridrich Strba <fst...@suse.com>
+
+- Add maven pom file
+
+-------------------------------------------------------------------

New:
----
  jdepend-2.9.1.pom

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

Other differences:
------------------
++++++ jdepend.spec ++++++
--- /var/tmp/diff_new_pack.zYvRRv/_old  2018-12-07 14:32:28.231289193 +0100
+++ /var/tmp/diff_new_pack.zYvRRv/_new  2018-12-07 14:32:28.231289193 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package jdepend
 #
-# 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/
 #
 
 
@@ -23,13 +23,14 @@
 Summary:        Java Design Quality Metrics
 License:        BSD-3-Clause
 Group:          Development/Libraries/Java
-Url:            http://www.clarkware.com/
+URL:            http://www.clarkware.com/
 Source0:        %{url}software/%{name}-%{version}.tar.bz2
+Source1:        
https://repo1.maven.org/maven2/jdepend/%{name}/%{version}/%{name}-%{version}.pom
 Patch0:         jdepend-target16.patch
 BuildRequires:  ant
 BuildRequires:  java-devel
+BuildRequires:  javapackages-local
 Obsoletes:      %{name}-javadoc
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
@@ -70,17 +71,28 @@
 install -m 644 dist/%{name}-%{version}.jar \
     %{buildroot}%{_javadir}/%{name}-%{version}.jar
 (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} 
${jar/-%{version}/}; done)
+
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -m 655 %{SOURCE1} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
+%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
+
 # demo
 install -d -m 755 %{buildroot}%{_datadir}/%{name}
 cp -pr sample %{buildroot}%{_datadir}/%{name}
 
 %files
-%defattr(-,root,root)
-%doc CHANGES README LICENSE
+%license LICENSE
+%doc CHANGES README
 %{_javadir}/*
+%{_mavenpomdir}/*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
 
 %files demo
-%defattr(-,root,root)
 %{_datadir}/%{name}
 
 %changelog

++++++ jdepend-2.9.1.pom ++++++
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>jdepend</groupId>
  <artifactId>jdepend</artifactId>
  <version>2.9.1</version>
</project>

Reply via email to