Hello community,

here is the log from the commit of package asm5 for openSUSE:Factory checked in 
at 2019-02-06 15:47:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/asm5 (Old)
 and      /work/SRC/openSUSE:Factory/.asm5.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "asm5"

Wed Feb  6 15:47:27 2019 rev:2 rq:671851 version:5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/asm5/asm5.changes        2018-07-27 
10:55:54.325607908 +0200
+++ /work/SRC/openSUSE:Factory/.asm5.new.28833/asm5.changes     2019-02-06 
15:47:29.467256517 +0100
@@ -1,0 +2,5 @@
+Tue Feb  5 12:45:30 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Install maven pom files and clean-up the spec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ asm5.spec ++++++
--- /var/tmp/diff_new_pack.1jWP8B/_old  2019-02-06 15:47:29.931256236 +0100
+++ /var/tmp/diff_new_pack.1jWP8B/_new  2019-02-06 15:47:29.935256234 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package asm4
+# spec file for package asm5
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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 bytecode manipulation framework
 License:        BSD-3-Clause
 Group:          Development/Libraries/Java
-Url:            http://asm.objectweb.org/
+URL:            http://asm.objectweb.org/
 Source:         %{base_name}-%{version}.tar.bz2
 Patch0:         %{base_name}-%{version}-sourcetarget.patch
 Patch1:         %{base_name}-%{version}-no_bnd.patch
 BuildRequires:  ant
 BuildRequires:  fdupes
 BuildRequires:  java-devel >= 1.8
+BuildRequires:  javapackages-local
 BuildRequires:  objectweb-anttask
 BuildArch:      noarch
 
@@ -89,18 +90,35 @@
 ant \
     -Dcompile.source=8 -Dcompile.target=8 \
     -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) \
-    jar jdoc
+    dist.version jar jdoc
 
 %install
 install -d -m 755 %{buildroot}/%{_javadir}/%{name}
 # jars
 install -m 644 output/dist/lib/*jar %{buildroot}/%{_javadir}/%{name}
-(cd %{buildroot}%{_javadir}/%{name} && for jar in *-%{version}*; do ln -sf 
${jar} ${jar/-%{version}/}; done)
+(cd %{buildroot}%{_javadir}/%{name} && for jar in *-%{version}.jar; do ln -sf 
${jar} ${jar/-%{version}/}; done)
 
 install -m 644 output/dist/lib/all/asm-all-%{version}.jar \
     %{buildroot}%{_javadir}/%{name}-all-%{version}.jar
 (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} 
${jar/-%{version}/}; done)
 
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}/%{name}
+
+install -pm 644 output/dist/lib/all/asm-all-%{version}.pom 
%{buildroot}%{_mavenpomdir}/%{name}-all-%{version}.pom
+%add_maven_depmap %{name}-all-%{version}.pom %{name}-all-%{version}.jar
+
+install -pm 644 output/dist/lib/asm-%{version}.pom 
%{buildroot}%{_mavenpomdir}/%{name}/asm-%{version}.pom
+%add_maven_depmap %{name}/asm-%{version}.pom %{name}/asm-%{version}.jar
+
+install -pm 644 output/dist/lib/asm-parent-%{version}.pom 
%{buildroot}%{_mavenpomdir}/%{name}/asm-parent-%{version}.pom
+%add_maven_depmap %{name}/asm-parent-%{version}.pom
+
+for i in analysis commons tree util xml; do
+       install -pm 644 output/dist/lib/asm-$i-%{version}.pom 
%{buildroot}%{_mavenpomdir}/%{name}/asm-$i-%{version}.pom
+       %add_maven_depmap %{name}/asm-$i-%{version}.pom 
%{name}/asm-$i-%{version}.jar
+done
+
 # javadoc
 install -d -m 755 %{buildroot}/%{_javadocdir}/%{name}-%{version}
 cp -pr output/dist/doc/javadoc/user/* 
%{buildroot}/%{_javadocdir}/%{name}-%{version}
@@ -108,10 +126,10 @@
 %fdupes -s %{buildroot}
 %fdupes -s examples/
 
-%files
-%doc README.txt LICENSE.txt
-%{_javadir}/%{name}-all*.jar
-%{_javadir}/%{name}/
+%files -f .mfiles
+%license LICENSE.txt
+%doc README.txt
+%{_javadir}/%{name}*
 
 %files javadoc
 %{_javadocdir}/%{name}-%{version}


Reply via email to