Hello community, here is the log from the commit of package isorelax for openSUSE:Leap:15.2 checked in at 2020-02-05 07:26:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/isorelax (Old) and /work/SRC/openSUSE:Leap:15.2/.isorelax.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "isorelax" Wed Feb 5 07:26:40 2020 rev:17 rq:763128 version:0.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/isorelax/isorelax.changes 2020-01-15 15:12:39.434148745 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.isorelax.new.26092/isorelax.changes 2020-02-05 07:26:54.658683332 +0100 @@ -1,0 +2,6 @@ +Tue Dec 18 06:31:12 UTC 2018 - Fridrich Strba <fst...@suse.com> + +- Add maven pom file +- Build against the generic xml-apis provider + +------------------------------------------------------------------- New: ---- isorelax-20030108.pom ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ isorelax.spec ++++++ --- /var/tmp/diff_new_pack.KHHDFY/_old 2020-02-05 07:26:55.058683501 +0100 +++ /var/tmp/diff_new_pack.KHHDFY/_new 2020-02-05 07:26:55.062683502 +0100 @@ -1,7 +1,7 @@ # # spec file for package isorelax # -# 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/ # @@ -21,26 +21,26 @@ Version: 0.1 Release: 0 Summary: Public interfaces useful for applications to support RELAX Core -License: Apache-2.0 and MIT +License: Apache-2.0 AND MIT Group: Development/Libraries/Java -Url: http://iso-relax.sourceforge.net/ +URL: http://iso-relax.sourceforge.net/ Source0: %{name}.%{cvsversion}.zip Source1: %{name}-build.xml Source2: isorelax-maven-project.xml Source3: isorelax-maven-project.xsd +Source4: http://repo2.maven.org/maven2/%{name}/%{name}/20030108/%{name}-20030108.pom Patch0: isorelax-java5-compatibility.patch BuildRequires: ant BuildRequires: java-devel -BuildRequires: javapackages-tools +BuildRequires: javapackages-local BuildRequires: unzip BuildRequires: xerces-j2 -BuildRequires: xml-commons-apis +BuildRequires: xml-apis Requires: xerces-j2 -Requires: xml-commons-apis +Requires: xml-apis Obsoletes: isorelax-bootstrap Provides: isorelax-bootstrap Obsoletes: %{name}-javadoc -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description @@ -66,7 +66,7 @@ %build export CLASSPATH=$(build-classpath \ xerces-j2 \ -xml-commons-apis \ +xml-apis \ ) ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \ -Dbuild.sysclasspath=only release @@ -76,10 +76,19 @@ install -d -m 755 %{buildroot}%{_javadir} install -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) +# pom +install -d -m 755 %{buildroot}%{_mavenpomdir} +install -m 644 %{SOURCE4} %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom +%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar %files -%defattr(-,root,root) -%doc COPYING.txt +%license COPYING.txt %{_javadir}/* +%{_mavenpomdir}/* +%if %{defined _maven_repository} +%{_mavendepmapfragdir}/%{name} +%else +%{_datadir}/maven-metadata/%{name}.xml* +%endif %changelog ++++++ isorelax-20030108.pom ++++++ <project> <modelVersion>4.0.0</modelVersion> <groupId>isorelax</groupId> <artifactId>isorelax</artifactId> <version>20030108</version> </project>