Hello community, here is the log from the commit of package apache-commons-math for openSUSE:Factory checked in at 2019-11-18 20:11:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apache-commons-math (Old) and /work/SRC/openSUSE:Factory/.apache-commons-math.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-math" Mon Nov 18 20:11:54 2019 rev:6 rq:749306 version:3.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/apache-commons-math/apache-commons-math.changes 2018-07-07 21:58:18.351324683 +0200 +++ /work/SRC/openSUSE:Factory/.apache-commons-math.new.26869/apache-commons-math.changes 2019-11-18 20:12:09.897537731 +0100 @@ -1,0 +2,8 @@ +Mon Nov 11 11:22:34 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Add alias to the maven artifact +- Clean-up the spec file +- Remove reference to the parent pom, since we don't build with + maven + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apache-commons-math.spec ++++++ --- /var/tmp/diff_new_pack.Bgx2jg/_old 2019-11-18 20:12:10.889537226 +0100 +++ /var/tmp/diff_new_pack.Bgx2jg/_new 2019-11-18 20:12:10.889537226 +0100 @@ -1,7 +1,7 @@ # # spec file for package apache-commons-math # -# 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,19 +23,13 @@ Release: 0 Summary: The Apache Commons Mathematics Library License: Apache-2.0 -Group: Development/Libraries/Java -Url: http://commons.apache.org/%{base_name}/ +URL: http://commons.apache.org/%{base_name}/ Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}3-%{version}-src.tar.gz Patch0: commons-math3-3.6.1-notests.patch BuildRequires: ant BuildRequires: ant-junit BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local -BuildRequires: javapackages-tools -BuildRequires: junit -Requires: java >= 1.8 -Provides: java(commons-math3:commons-math3) = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -45,7 +39,6 @@ %package javadoc Summary: Javadoc for %{name} -Group: Development/Libraries/Java %description javadoc This package contains the API documentation for %{name}. @@ -54,6 +47,8 @@ %setup -q -n %{short_name}3-%{version}-src %patch0 -p1 +%pom_remove_parent . + %build export CLASSPATH=$(build-classpath ant-junit junit) ant -Dant.build.javac.source=8 -Dcompile.source=8 \ @@ -64,30 +59,25 @@ %install # jars -install -Dpm 644 target/%{short_name}*.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar -(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done) -(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +install -Dpm 644 target/%{short_name}*.jar %{buildroot}%{_javadir}/%{short_name}.jar +ln -sf %{_javadir}/%{short_name}.jar %{buildroot}%{_javadir}/%{name}.jar # pom install -d -m 755 %{buildroot}%{_mavenpomdir} -install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{short_name}.pom -%add_maven_depmap JPP-%{short_name}.pom %{short_name}.jar +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{short_name}.pom +%add_maven_depmap %{short_name}.pom %{short_name}.jar -a %{short_name}:%{short_name} # javadoc install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version} -cp -pr target/apidocs/ %{buildroot}%{_javadocdir}/%{name}-%{version}/ -ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name} +cp -pr target/apidocs/ %{buildroot}%{_javadocdir}/%{name} -%files -%defattr(-,root,root) -%doc LICENSE.txt license-header.txt NOTICE.txt RELEASE-NOTES.txt -%{_javadir}/* -%{_mavenpomdir}/* -%{_datadir}/maven-metadata/%{name}.xml +%files -f .mfiles +%license LICENSE.txt license-header.txt NOTICE.txt +%doc RELEASE-NOTES.txt +%{_javadir}/%{name}.jar %files javadoc -%defattr(-,root,root) -%doc LICENSE.txt -%{_javadocdir}/* +%license LICENSE.txt +%{_javadocdir}/%{name} %changelog