Hello community, here is the log from the commit of package jcommon for openSUSE:Factory checked in at 2019-10-08 19:57:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jcommon (Old) and /work/SRC/openSUSE:Factory/.jcommon.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jcommon" Tue Oct 8 19:57:42 2019 rev:15 rq:735841 version:1.0.23 Changes: -------- --- /work/SRC/openSUSE:Factory/jcommon/jcommon.changes 2017-09-20 17:10:03.675766056 +0200 +++ /work/SRC/openSUSE:Factory/.jcommon.new.2352/jcommon.changes 2019-10-08 19:57:47.128223516 +0200 @@ -1,0 +2,8 @@ +Mon Oct 7 12:49:48 UTC 2019 - Fridrich Strba <[email protected]> + +- Update to upstrem verion 1.0.23 +- Remove the test subpackage, since the build target does not + exist anymore + * Obsolete: jcommon-test from the jcommon package + +------------------------------------------------------------------- Old: ---- jcommon-1.0.9.tar.bz2 New: ---- _service jcommon-1.0.23.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jcommon.spec ++++++ --- /var/tmp/diff_new_pack.U0iQmw/_old 2019-10-08 19:57:47.580222162 +0200 +++ /var/tmp/diff_new_pack.U0iQmw/_new 2019-10-08 19:57:47.584222150 +0200 @@ -1,7 +1,7 @@ # # spec file for package jcommon # -# Copyright (c) 2017 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,43 +12,31 @@ # 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/ # %define section free Name: jcommon -Version: 1.0.9 +Version: 1.0.23 Release: 0 Summary: Common library -License: LGPL-2.1 -Group: Development/Languages/Java -Url: http://www.jfree.org/jcommon/index.php -Source0: http://download.sourceforge.net/jfreechart/jcommon-%{version}.tar.bz2 +License: LGPL-2.1-only +URL: http://www.jfree.org/jcommon/index.php +Source0: jcommon-%{version}.tar.xz BuildRequires: ant >= 1.6.5 BuildRequires: fdupes BuildRequires: java-devel -BuildRequires: javapackages-tools -BuildRequires: junit +BuildRequires: javapackages-local +Obsoletes: %{name}-test BuildArch: noarch %description Collection of classes used by Object Refinery Projects, for example jfreechart -%package test -Summary: Common library -Group: Development/Languages/Java -Requires: %{name} = %{version}-%{release} -Requires: junit - -%description test -Collection of classes used by Object Refinery Projects, for example -jfreechart - %package javadoc Summary: Common library -Group: Development/Languages/Java %description javadoc Collection of classes used by Object Refinery Projects, for example @@ -63,40 +51,34 @@ # remove all binary libs find . -name "*.jar" -exec rm -f {} \; +%{pom_remove_parent} + %build export CLASSPATH=%(build-classpath junit) ant \ -f ant/build.xml \ -Dbuildstable=true -Dproject.outdir=. -Dbasedir=. \ -Dbuild.source=1.6 -Dbuild.target=1.6 \ - compile compile-junit-tests javadoc + compile javadoc %install -install -d -m 755 %{buildroot}%{_javadir}/%{name} -# jars -install -d -m 755 %{buildroot}%{_javadir} -install -m 644 %{name}-%{version}.jar %{buildroot}%{_javadir} -install -m 644 lib/%{name}-%{version}-junit.jar %{buildroot}%{_javadir}/%{name}-junit-%{version}.jar -(cd %{buildroot}%{_javadir} && for jar in *-%{version}*.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +# jar +install -dm 0755 %{buildroot}%{_javadir} +install -pm 0644 %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +# pom +install -dm 0755 %{buildroot}%{_mavenpomdir} +install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar # javadoc -install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version} -cp -pr javadoc/* %{buildroot}%{_javadocdir}/%{name}-%{version} -%fdupes -s %{buildroot}%{_javadocdir}/%{name}-%{version} - -ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} - -%files -%doc licence-LGPL.txt README.txt -%{_javadir}/%{name}.jar -%{_javadir}/%{name}-%{version}.jar -%dir %{_javadir}/%{name} - -%files test -%{_javadir}/%{name}-junit-%{version}.jar -%{_javadir}/%{name}-junit.jar +install -d -m 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr javadoc/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} + +%files -f .mfiles +%license LICENSE +%doc README.md %files javadoc -%{_javadocdir}/%{name}-%{version} %{_javadocdir}/%{name} %changelog ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">git://github.com/jfree/jcommon.git</param> <param name="revision">1ea10aa82e30e0d60f57e1c562281a3ac7dd5cdd</param> <param name="versionformat">1.0.23</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services>
