Hello community, here is the log from the commit of package isorelax for openSUSE:Factory checked in at 2018-12-21 08:19:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/isorelax (Old) and /work/SRC/openSUSE:Factory/.isorelax.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "isorelax" Fri Dec 21 08:19:06 2018 rev:18 rq:659038 version:0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/isorelax/isorelax.changes 2017-09-13 22:20:03.182459555 +0200 +++ /work/SRC/openSUSE:Factory/.isorelax.new.28833/isorelax.changes 2018-12-21 08:19:06.877699405 +0100 @@ -1,0 +2,6 @@ +Tue Dec 18 06:31:12 UTC 2018 - Fridrich Strba <[email protected]> + +- Add maven pom file +- Build against the generic xml-apis provider + +------------------------------------------------------------------- New: ---- isorelax-20030108.pom ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ isorelax.spec ++++++ --- /var/tmp/diff_new_pack.2i0AKK/_old 2018-12-21 08:19:07.745698593 +0100 +++ /var/tmp/diff_new_pack.2i0AKK/_new 2018-12-21 08:19:07.745698593 +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>
