Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jakarta-servlet.17289 for openSUSE:Leap:15.2:Update checked in at 2021-12-20 10:16:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2:Update/jakarta-servlet.17289 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.jakarta-servlet.17289.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jakarta-servlet.17289" Mon Dec 20 10:16:55 2021 rev:1 rq:941187 version:5.0.0 Changes: -------- New Changes file: --- /dev/null 2021-12-09 00:52:20.582305468 +0100 +++ /work/SRC/openSUSE:Leap:15.2:Update/.jakarta-servlet.17289.new.2520/jakarta-servlet.changes 2021-12-20 10:16:55.563834654 +0100 @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Dec 13 06:28:07 UTC 2021 - Fridrich Strba <fst...@suse.com> + +- Initial packaging of jakarta-servlet 5.0.0 New: ---- jakarta-servlet-api-build.xml jakarta-servlet.changes jakarta-servlet.spec servlet-api-5.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jakarta-servlet.spec ++++++ # # spec file for package jakarta-servlet # # Copyright (c) 2021 SUSE LLC # # 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/ # %global artifactId jakarta.servlet-api Name: jakarta-servlet Version: 5.0.0 Release: 0 Summary: Server-side API for handling HTTP requests and responses License: Apache-2.0 AND (EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0) URL: https://github.com/eclipse-ee4j/servlet-api Source0: https://github.com/eclipse-ee4j/servlet-api/archive/%{version}-RELEASE/servlet-api-%{version}.tar.gz Source1: %{name}-api-build.xml BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildArch: noarch %description Jakarta Servlet defines a server-side API for handling HTTP requests and responses. %package javadoc Summary: Javadoc for %{name} Group: Documentation/HTML %description javadoc API documentation for %{name}. %prep %setup -q -n servlet-api-%{version}-RELEASE cp LICENSE.md api/src/main/resources/META-INF/ cp NOTICE.md api/src/main/resources/META-INF/ # remove unnecessary dependency on parent POM %pom_remove_parent . api cp %{SOURCE1} api/build.xml # remove unnecessary maven plugins %pom_remove_plugin -r :formatter-maven-plugin %pom_remove_plugin -r :impsort-maven-plugin %pom_remove_plugin -r :maven-enforcer-plugin %pom_remove_plugin -r :maven-javadoc-plugin %pom_remove_plugin -r :maven-source-plugin %build pushd api %{ant} jar javadoc popd %install # jar install -dm 0755 %{buildroot}%{_javadir}/%{name} install -pm 0644 api/target/%{artifactId}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{artifactId}.jar # pom install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} install -pm 0644 api/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{artifactId}.pom %add_maven_depmap %{name}/%{artifactId}.pom %{name}/%{artifactId}.jar # javadoc install -dm 0755 %{buildroot}%{_javadocdir}/%{name} cp -pr api/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/ %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license LICENSE.md NOTICE.md %doc README.md %files javadoc %{_javadocdir}/%{name} %license LICENSE.md NOTICE.md %changelog ++++++ jakarta-servlet-api-build.xml ++++++ <?xml version="1.0" encoding="UTF-8"?> <project name="jakarta.servlet-api" default="package" basedir="."> <!-- ====================================================================== --> <!-- Build environment properties --> <!-- ====================================================================== --> <property file="build.properties"/> <property name="project.groupId" value="jakarta.servlet"/> <property name="project.artifactId" value="jakarta.servlet-api"/> <property name="project.version" value="5.0.0"/> <property name="spec.version" value="5.0"/> <property name="bundle.version" value="${project.version}"/> <property name="compiler.source" value="1.8"/> <property name="compiler.target" value="${compiler.source}"/> <property name="build.finalName" value="${project.artifactId}-${project.version}"/> <property name="build.dir" value="target"/> <property name="build.outputDir" value="${build.dir}/classes"/> <property name="build.srcDir" value="src/main/java"/> <property name="build.resourceDir" value="src/main/java"/> <property name="build.resourceDir.1" value="src/main/resources"/> <property name="build.testOutputDir" value="${build.dir}/test-classes"/> <property name="build.testDir" value="src/test/java"/> <property name="build.testResourceDir" value="src/test/resources"/> <property name="test.reports" value="${build.dir}/test-reports"/> <property name="reporting.outputDirectory" value="${build.dir}/site"/> <!-- ====================================================================== --> <!-- Cleaning up target --> <!-- ====================================================================== --> <target name="clean" description="Clean the output directory"> <delete dir="${build.dir}"/> </target> <!-- ====================================================================== --> <!-- Compilation target --> <!-- ====================================================================== --> <target name="compile" description="Compile the code"> <mkdir dir="${build.outputDir}"/> <javac destdir="${build.outputDir}" nowarn="false" debug="true" optimize="false" deprecation="true" target="${compiler.target}" verbose="false" fork="false" source="${compiler.source}"> <src> <pathelement location="${build.srcDir}"/> </src> </javac> <copy todir="${build.outputDir}"> <fileset dir="${build.resourceDir}"> <include name="**/*.properties"/> <include name="**/*.html"/> </fileset> </copy> <copy todir="${build.outputDir}"> <fileset dir="${build.resourceDir.1}"> <exclude name="META-INF/README"/> </fileset> </copy> </target> <!-- ====================================================================== --> <!-- Javadoc target --> <!-- ====================================================================== --> <target name="javadoc" description="Generates the Javadoc of the application"> <javadoc sourcepath="${build.srcDir}" packagenames="*" destdir="${reporting.outputDirectory}/apidocs" access="protected" source="${compiler.source}" verbose="false" version="true" use="true" author="true" splitindex="false" nodeprecated="false" nodeprecatedlist="false" notree="false" noindex="false" nohelp="false" nonavbar="false" serialwarn="false" linksource="false" breakiterator="false"/> </target> <!-- ====================================================================== --> <!-- Package target --> <!-- ====================================================================== --> <target name="package" depends="compile" description="Package the application"> <jar jarfile="${build.dir}/${build.finalName}.jar" compress="true" index="false" basedir="${build.outputDir}" excludes="**/package.html"> <manifest> <attribute name="Automatic-Module-Name" value="${project.groupId}"/> <attribute name="Bundle-Description" value="Jakarta Servlet ${spec.version}"/> <attribute name="Bundle-License" value="http://www.eclipse.org/legal/epl-2.0, https://www.gnu.org/software/classpath/license.html"/> <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="Jakarta Servlet"/> <attribute name="Bundle-SymbolicName" value="${project.artifactId}"/> <attribute name="Bundle-Version" value="${bundle.version}"/> <attribute name="Export-Package" value="jakarta.servlet.annotation;uses:="jakarta.servlet";version="${bundle.version}",jakarta.servlet.descriptor;version="${bundle.version}",jakarta.servlet.http;uses:="jakarta.servlet";version="${bundle.version}",jakarta.servlet.resources;version="${bundle.version}",jakarta.servlet;uses:="jakarta.servlet.annotation,jakarta.servlet.descriptor";version="${bundle.version}""/> <attribute name="Extension-Name" value="jakarta.servlet"/> <attribute name="Implementation-Vendor-Id" value="org.eclipse"/> <attribute name="Implementation-Version" value="${project.version}"/> <attribute name="Import-Package" value="jakarta.servlet,jakarta.servlet.annotation,jakarta.servlet.descriptor"/> <attribute name="JavaPackages-ArtifactId" value="${project.artifactId}"/> <attribute name="JavaPackages-GroupId" value="${project.groupId}"/> <attribute name="JavaPackages-Version" value="${project.version}"/> <attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/> <attribute name="Specification-Vendor" value="Eclipse Foundation"/> <attribute name="Specification-Version" value="${spec.version}"/> </manifest> </jar> </target> <!-- ====================================================================== --> <!-- A dummy target for the package named after the type it creates --> <!-- ====================================================================== --> <target name="jar" depends="package" description="Builds the jar for the application"/> </project>