Hello community, here is the log from the commit of package jdo2-api for openSUSE:Factory checked in at 2019-05-13 14:49:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jdo2-api (Old) and /work/SRC/openSUSE:Factory/.jdo2-api.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jdo2-api" Mon May 13 14:49:52 2019 rev:1 rq:701578 version:2.2 Changes: -------- New Changes file: --- /dev/null 2019-05-02 15:18:01.516169518 +0200 +++ /work/SRC/openSUSE:Factory/.jdo2-api.new.5148/jdo2-api.changes 2019-05-13 14:49:56.778699007 +0200 @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed May 8 13:39:42 UTC 2019 - Fridrich Strba <[email protected]> + +- Initial packaging of jdo2-api 2.2 New: ---- jdo2-api-2.2-build.xml jdo2-api-2.2-pom.patch jdo2-api-2.2-src.tar.gz jdo2-api-2.2.pom jdo2-api.changes jdo2-api.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jdo2-api.spec ++++++ # # spec file for package jdo2-api # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: jdo2-api Version: 2.2 Release: 0 Summary: Implementation of JSR 243: Java Data Objects 2.0 License: Apache-2.0 Group: Development/Libraries/Java URL: http://db.apache.org/jdo/ Source0: http://svn.apache.org/repos/asf/db/jdo/tags/%{version}/dist/db/jdo/%{version}/%{name}-%{version}-src.tar.gz Source1: %{name}-%{version}-build.xml # changed javax.transaction transaction-api 1.1 with geronimo-jta_1.1_spec # fix pom version Source2: http://repo1.maven.org/maven2/javax/jdo/%{name}/%{version}/%{name}-%{version}.pom Patch0: jdo2-api-2.2-pom.patch BuildRequires: ant BuildRequires: fdupes BuildRequires: geronimo-jpa-3_0-api BuildRequires: geronimo-jta-1_1-api BuildRequires: java-devel BuildRequires: javapackages-local BuildRequires: junit BuildRequires: xmvn-install BuildRequires: xmvn-resolve BuildConflicts: java-devel >= 11 Requires: javapackages-tools BuildArch: noarch %description The Java Data Objects 2 (JDO) API is a standard interface-based Java model abstraction of persistence, developed as Java Specification Request 243 under the auspices of the Java Community Process. %package javadoc Summary: API documentation for %{name} Group: Documentation/HTML %description javadoc This package contains javadoc for %{name}. %prep %setup -q -c cd %{name}-%{version} cp -p %{SOURCE1} build.xml cp -p %{SOURCE2} pom.xml %patch0 %{mvn_file} : %{name} %build pushd %{name}-%{version} %{ant} -Dant.build.javac.source=8 -Dant.build.javac.target=8 jar javadoc popd %{mvn_artifact} %{name}-%{version}/pom.xml %{name}-%{version}/%{name}-%{version}.jar %install %mvn_install -J %{name}-%{version}/dist/docs/api %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE.txt NOTICE.txt %files javadoc -f .mfiles-javadoc %license LICENSE.txt NOTICE.txt %changelog ++++++ jdo2-api-2.2-build.xml ++++++ <?xml version="1.0" encoding="UTF-8"?> <project default="javadoc" name="jdo2-api" basedir="."> <property name="defaulttargetdir" value="target"> </property> <property name="libdir" value="target/lib"> </property> <property name="classesdir" value="target/classes"> </property> <property name="sourcedir" value="src/java"> </property> <property name="testclassesdir" value="target/test-classes"> </property> <property name="testclassesdir" value="target/test-classes"> </property> <property name="testreportdir" value="target/test-reports"> </property> <property name="distdir" value="dist"> </property> <property name="javadocdir" value="dist/docs/api"> </property> <property name="jar.name" value="jdo2-api"> </property> <property name="jar.version" value="2.2"> </property> <property name="final.name" value="${jar.name}-${jar.version}"> </property> <target name="clean" description="Clean up"> <delete dir="${classesdir}"/> <delete file="${final.name}"/> </target> <target name="compile" description="Compile the sources"> <mkdir dir="${classesdir}"/> <javac srcdir="${sourcedir}" destdir="${classesdir}" deprecation="true" debug="true" optimize="false"> <classpath> <fileset dir="/usr/share/java"> <include name="geronimo-jta*.jar"/> <include name="ant.jar"/> <include name="geronimo-jpa*.jar"/> <include name="junit.jar"/> </fileset> </classpath> </javac> <copy todir="${classesdir}"> <fileset dir="${sourcedir}"> <include name="javax/jdo/*.properties"> </include> </fileset> </copy> <copy todir="${classesdir}"> <fileset dir="src/schema"> <include name="javax/jdo/*.dtd"> </include> <include name="javax/jdo/*.xsd"> </include> </fileset> </copy> </target> <!--target name="test" description="o Run the test cases" if="test.failure" depends="internal-test"> <fail message="There were test failures."> </fail> </target> <target name="internal-test" depends="compile-tests"> <mkdir dir="${testreportdir}"> </mkdir> <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true"> <sysproperty key="basedir" value="."> </sysproperty> <formatter type="xml"> </formatter> <formatter usefile="false" type="plain"> </formatter> <classpath> <pathelement path="${testclassesdir}"> </pathelement> <pathelement path="${classesdir}"> </pathelement> <fileset dir="/usr/share/java"> <include name="geronimo-jta.jar"/> <include name="ant.jar"/> <include name="geronimo-jpa.jar"/> <include name="junit.jar"/> </fileset> </classpath> <batchtest todir="${testreportdir}"> <fileset dir="test/java"> <include name="**/*Test.java"> </include> <exclude name="javax/jdo/util/AbstractTest.java"> </exclude> <exclude name="javax/jdo/pc/*.java"> </exclude> </fileset> </batchtest> </junit> </target> <target name="compile-tests" depends="compile"> <mkdir dir="${testclassesdir}"> </mkdir> <javac destdir="${testclassesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> <src> <pathelement location="test/java"> </pathelement> </src> <classpath> <fileset dir="/usr/share/java"> <include name="geronimo-jta.jar"/> <include name="ant.jar"/> <include name="geronimo-jpa.jar"/> <include name="junit.jar"/> </fileset> <pathelement path="${classesdir}"> </pathelement> </classpath> </javac> <copy todir="${testclassesdir}"> <fileset dir="test/java"> <include name="**/*.jdo"> </include> <include name="**/*.jdoquery"> </include> <include name="**/*.orm"> </include> <include name="**/jdoconfig.xml"> </include> </fileset> </copy> </target--> <target name="javadoc" description="o Generate javadoc"> <mkdir dir="${javadocdir}"> </mkdir> <tstamp> <format pattern="2005-yyyy" property="year"> </format> </tstamp> <property name="copyright" value="Copyright &copy; 2005-2008 Apache Software Foundation. All Rights Reserved."> </property> <property name="title" value="JDO2 API 2.2 API"> </property> <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="${sourcedir}" packagenames="javax.jdo.*"> <classpath> <fileset dir="/usr/share/java"> <include name="geronimo-jta*.jar"/> <include name="ant.jar"/> <include name="geronimo-jpa*.jar"/> <include name="junit.jar"/> </fileset> <pathelement path="${classesdir}"> </pathelement> </classpath> </javadoc> </target> <target name="jar" description="Create the jar" depends="compile"> <jar jarfile="${final.name}.jar" basedir="${classesdir}"> <manifest> <attribute name="Built-By" value="${user.name}"/> <attribute name="Extension-Name" value="${jar.name}"/> <attribute name="Package" value="javax.jdo"/> <attribute name="Specification-Title" value="Java Data Objects 2 (JDO) API"/> <attribute name="Specification-Version" value="JDO 2.2"/> <attribute name="Specification-Vendor" value="Apache Software Foundation"/> <attribute name="Implementation-Title" value="javax.jdo"/> <attribute name="Implementation-Version" value="2.2"/> <attribute name="Implementation-Vendor" value="Apache Software Foundation"/> <attribute name="Bundle-Localization" value="plugin"/> <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="Java Data Objects"/> <attribute name="Bundle-SymbolicName" value="javax.jdo"/> <attribute name="Bundle-Vendor" value="Apache"/> <attribute name="Export-Package" value="javax.jdo,javax.jdo.annotations,javax.jdo.datastore,javax.jdo.identity,javax.jdo.listener,javax.jdo.spi"/> <attribute name="Import-Package" value="javax.transaction;resolution:=optional,javax.persistence;resolution:=optional"/> </manifest> </jar> </target> <target name="install" depends="jar,javadoc"> <mkdir dir="${destdir}/usr/share/java/" /> <copy file="${final.name}" todir="${destdir}/usr/share/java/"/> <mkdir dir="${destdir}/usr/share/javadoc/" /> <copy file="${javadocdir}" todir="${destdir}/usr/share/javadoc/${jar.name}/"/> </target> </project> ++++++ jdo2-api-2.2-pom.patch ++++++ --- pom.xml 2008-10-24 22:00:43.000000000 +0200 +++ pom.xml-gil 2012-05-28 21:13:19.599917969 +0200 @@ -3,7 +3,7 @@ <groupId>javax.jdo</groupId> <artifactId>jdo2-api</artifactId> <name>JDO2 API</name> - <version>${currentVersion}</version> + <version>2.2</version> <description>The Java Data Objects 2 (JDO) API is a standard interface-based Java model abstraction of persistence, developed as Java Specification Request 243 under the auspices of the Java Community Process.</description> @@ -60,9 +60,9 @@ </build> <dependencies> <dependency> - <groupId>javax.transaction</groupId> - <artifactId>transaction-api</artifactId> - <version>1.1</version> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jta_1.1_spec</artifactId> + <version>1.1.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> ++++++ jdo2-api-2.2.pom ++++++ <?xml version="1.0" encoding="UTF-8"?><project> <modelVersion>4.0.0</modelVersion> <groupId>javax.jdo</groupId> <artifactId>jdo2-api</artifactId> <name>JDO2 API</name> <version>${currentVersion}</version> <description>The Java Data Objects 2 (JDO) API is a standard interface-based Java model abstraction of persistence, developed as Java Specification Request 243 under the auspices of the Java Community Process.</description> <build> <sourceDirectory>src/java</sourceDirectory> <testSourceDirectory>test/java</testSourceDirectory> <resources> <resource> <targetPath>META-INF</targetPath> <directory>${basedir}/..</directory> <includes> <include>NOTICE.txt</include> </includes> </resource> <resource> <directory>${basedir}/src/java</directory> <includes> <include>javax/jdo/*.properties</include> </includes> </resource> <resource> <directory>${basedir}/src/schema</directory> <includes> <include>javax/jdo/*.dtd</include> <include>javax/jdo/*.xsd</include> </includes> </resource> </resources> <testResources> <testResource> <directory>${basedir}/test/schema</directory> <includes> <include>**/*.jdo</include> <include>**/*.jdoquery</include> <include>**/*.orm</include> <include>**/jdoconfig.xml</include> </includes> </testResource> </testResources> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <includes> <include>**/*Test.java</include> </includes> <excludes> <exclude>javax/jdo/util/AbstractTest.java</exclude> <exclude>javax/jdo/pc/*.java</exclude> </excludes> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>javax.transaction</groupId> <artifactId>transaction-api</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <version>1.7.0</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> </dependency> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jpa_3.0_spec</artifactId> <version>1.0</version> </dependency> </dependencies> </project>
