Hello community, here is the log from the commit of package relaxngDatatype for openSUSE:Leap:15.2 checked in at 2020-02-05 07:23:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/relaxngDatatype (Old) and /work/SRC/openSUSE:Leap:15.2/.relaxngDatatype.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "relaxngDatatype" Wed Feb 5 07:23:45 2020 rev:22 rq:762734 version:2011.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/relaxngDatatype/relaxngDatatype.changes 2020-01-15 15:56:58.107719135 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.relaxngDatatype.new.26092/relaxngDatatype.changes 2020-02-05 07:23:46.802604227 +0100 @@ -1,0 +2,19 @@ +Mon Apr 8 11:27:51 UTC 2019 - Fridrich Strba <fst...@suse.com> + +- Do not depend on the parent pom and remove its reference from the + pom.xml files, since we are not building using Maven. +- Install unversioned jar/pom files + +------------------------------------------------------------------- +Tue Dec 18 08:14:00 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Depend on sonatype-oss-parent to satisfy maven dependencies on + build time. + +------------------------------------------------------------------- +Fri Oct 19 17:44:43 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Install the provided pom file in order to generate correctly + the mvn(...) dependencies + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ relaxngDatatype.spec ++++++ --- /var/tmp/diff_new_pack.zrB2Jr/_old 2020-02-05 07:23:47.070604340 +0100 +++ /var/tmp/diff_new_pack.zrB2Jr/_new 2020-02-05 07:23:47.070604340 +0100 @@ -1,7 +1,7 @@ # # spec file for package relaxngDatatype # -# 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,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/ # @@ -22,15 +22,14 @@ Summary: RELAX NG Datatype API License: BSD-3-Clause Group: Development/Languages/Java -Url: https://sourceforge.net/projects/relaxng +URL: https://sourceforge.net/projects/relaxng Source0: https://github.com/java-schema-utilities/relaxng-datatype-java/archive/relaxngDatatype-%{version}.tar.gz # License is not available in the tarball, this copy fetched from the tarball on the old sourceforge.net site Source1: copying.txt BuildRequires: ant BuildRequires: java-devel -BuildRequires: javapackages-tools +BuildRequires: javapackages-local Obsoletes: %{name}-javadoc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -42,6 +41,8 @@ %setup -q -n relaxng-datatype-java-relaxngDatatype-%{version} cp -p %{SOURCE1} . +%pom_remove_parent . + %build ant \ -Dbuild.sysclasspath=only \ @@ -49,12 +50,15 @@ %install install -Dpm 644 %{name}.jar \ - %{buildroot}%{_javadir}/%{name}-%{version}.jar -ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar + %{buildroot}%{_javadir}/%{name}.jar + +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar -a relaxngDatatype:relaxngDatatype -%files -%defattr(-,root,root,-) -%doc copying.txt +%files -f .mfiles +%license copying.txt %{_javadir}/*.jar %changelog