Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package jsr-305 for openSUSE:Factory checked 
in at 2021-08-27 21:43:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jsr-305 (Old)
 and      /work/SRC/openSUSE:Factory/.jsr-305.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jsr-305"

Fri Aug 27 21:43:50 2021 rev:19 rq:914520 version:3.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/jsr-305/jsr-305.changes  2019-10-07 
14:13:59.938909095 +0200
+++ /work/SRC/openSUSE:Factory/.jsr-305.new.1899/jsr-305.changes        
2021-08-27 21:44:59.634046712 +0200
@@ -1,0 +2,7 @@
+Fri Aug 27 06:59:45 UTC 2021 - Fridrich Strba <[email protected]>
+
+- Upgrade to upstream version 3.0.2
+  * needed by the fix for bsc#1189749, CVE-2021-37714 in jsoup
+    package
+
+-------------------------------------------------------------------

Old:
----
  jsr-305-20130910svn.tgz

New:
----
  _service
  jsr-305-3.0.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ jsr-305.spec ++++++
--- /var/tmp/diff_new_pack.A8xyMM/_old  2021-08-27 21:45:00.126047299 +0200
+++ /var/tmp/diff_new_pack.A8xyMM/_new  2021-08-27 21:45:00.130047304 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package jsr-305
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,23 +16,14 @@
 #
 
 
-%global svn_revision 51
-%global svn_date 20130910
 Name:           jsr-305
-Version:        0.1+%{svn_date}
+Version:        3.0.2
 Release:        0
 Summary:        Correctness annotations for Java code
-# The majority of code is BSD-licensed, but some Java sources
-# are licensed under CC-BY license, see: $ grep -r Creative .
 License:        BSD-3-Clause
 Group:          Development/Libraries/Java
-URL:            http://code.google.com/p/jsr-305/
-# There has been no official release yet.  This is a snapshot of the Subversion
-# repository as of 10 Sep 2013.  Use the following commands to generate the
-# tarball:
-#   svn export -r %{svn_revision} http://%{name}.googlecode.com/svn/trunk 
%{name}
-#   tar -czvf %{name}-%{svn_date}svn.tgz %{name}
-Source0:        jsr-305-%{svn_date}svn.tgz
+URL:            https://code.google.com/p/jsr-305/
+Source0:        %{name}-%{version}.tar.xz
 Source1:        jsr-305-ri-build.xml
 # File containing URL to CC-BY license text
 Source2:        NOTICE-CC-BY.txt
@@ -55,7 +46,7 @@
 This package contains the API documentation for %{name}.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 cp -a %{SOURCE1} ri/build.xml
 cp %{SOURCE2} NOTICE-CC-BY
 dos2unix sampleUses/pom.xml
@@ -68,27 +59,24 @@
 done
 
 %build
-export OPT_JAR_LIST=:
-export CLASSPATH=
 pushd ri
-%{ant} -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
-       -Dversion=%{version} -Djava.javadoc=%{_javadocdir}/java
+%{ant} jar javadoc
 popd
 
 %install
 # jars
 install -dm 0755 %{buildroot}%{_javadir}
-install -pm 0644 ri/jsr-305-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+install -pm 0644 ri/target/jsr305-%{version}.jar 
%{buildroot}%{_javadir}/%{name}.jar
 ln -s %{name}.jar %{buildroot}%{_javadir}/jsr305.jar
 
 # poms
 install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
 install -pm 0644 ri/pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
-%add_maven_depmap %{name}.pom %{name}.jar -a com.google.code.findbugs:jsr305
+%add_maven_depmap %{name}.pom %{name}.jar
 
 # javadoc
 install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
-cp -pr ri/javadoc/* %{buildroot}%{_javadocdir}/%{name}
+cp -pr ri/target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 %fdupes -s %{buildroot}%{_javadocdir}
 
 %files -f .mfiles

++++++ _service ++++++
<services>
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param name="url">https://github.com/amaembo/jsr-305.git</param>
                <param 
name="revision">d7734b13c61492982784560ed5b4f4bd6cf9bb2c</param>
                <param name="versionformat">3.0.2</param>
        </service>
        <service name="recompress" mode="disabled">
                <param name="file">*.tar</param>
                <param name="compression">xz</param>
        </service>
        <service name="set_version" mode="disabled"/>
</services>
++++++ jsr-305-ri-build.xml ++++++
--- /var/tmp/diff_new_pack.A8xyMM/_old  2021-08-27 21:45:00.190047375 +0200
+++ /var/tmp/diff_new_pack.A8xyMM/_new  2021-08-27 21:45:00.190047375 +0200
@@ -1,40 +1,115 @@
-<project name="JSR305-ri" default="build">
-       <target name="build" depends="clean,classes,jar,javadoc"/>
-       <target name="classes">
-               <mkdir dir="src/main/java"/>
-               <javac  destdir="src/main/java" debug="on">
-                       <src path="src/main/java"/>
-                       <classpath>
-                               <pathelement location="src/main/java"/>
-                       </classpath>
-               </javac>
-       </target>
-
-       <target name="jar" depends="classes">
-               <jar  destfile="jsr-305-${version}.jar" basedir="src/main/java">
-               </jar>
-       </target>
-
-       <target name="javadoc">
-               <mkdir dir="javadoc"/>
-               <javadoc  packagenames="javax.annotation.*"
-                          sourcepath="src/main/java"
-                          defaultexcludes="yes"
-                          destdir="javadoc"
-                          version="true"
-                          use="true"
-                          windowtitle="JSR 305: Annotations for Software 
Defect Detection in Java">
-               </javadoc>
-       </target>
-
-        <target name="clean">
-               <fileset dir="src/main/java" includes="**/*.class"/>
-               <fileset dir="." includes="jsr-305-${version}.jar"/>
-                <delete dir="javadoc"/>
-        </target>
+<?xml version="1.0" encoding="UTF-8"?>
 
+<project name="jsr305" default="package" basedir=".">
 
+  <!-- ====================================================================== 
-->
+  <!-- Build environment properties                                           
-->
+  <!-- ====================================================================== 
-->
+
+  <property file="build.properties"/>
+  
+  <property name="project.name" value="FindBugs-jsr305"/>
+  <property name="project.groupId" value="com.google.code.findbugs"/>
+  <property name="project.artifactId" value="jsr305"/>
+  <property name="project.version" value="3.0.2"/>
+  <property name="project.description" value="JSR305 Annotations for 
Findbugs"/>
+
+  <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/resources"/>
+
+  <property name="compiler.source" value="1.6"/>
+  <property name="compiler.target" value="${compiler.source}"/>
+
+  <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>
+  </target>
+
+  <!-- ====================================================================== 
-->
+  <!-- Javadoc target                                                         
-->
+  <!-- ====================================================================== 
-->
+
+  <target name="javadoc" description="Generates the Javadoc of the 
application">
+    <javadoc sourcepath="${build.srcDir}" 
+             packagenames="*" 
+             destdir="${reporting.outputDirectory}/apidocs" 
+             access="protected" 
+             old="false" 
+             verbose="false" 
+             version="true" 
+             use="true" 
+             author="true" 
+             splitindex="false" 
+             nodeprecated="false" 
+             nodeprecatedlist="false" 
+             notree="false" 
+             noindex="false" 
+             nohelp="false" 
+             nonavbar="false" 
+             serialwarn="false" 
+             source="${compiler.source}"
+             charset="ISO-8859-1" 
+             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="Bundle-Description" value="${project.description}"/>
+        <attribute name="Bundle-License" 
value="https://opensource.org/licenses/BSD-3-Clause"/>
+        <attribute name="Bundle-ManifestVersion" value="2"/>
+        <attribute name="Bundle-Name" value="${project.name}"/>
+        <attribute name="Bundle-SymbolicName" value="org.jsr-305"/>
+        <attribute name="Bundle-Version" value="${project.version}"/>
+        <attribute name="Export-Package" 
value="javax.annotation.concurrent;version=&quot;${project.version}&quot;,javax.annotation.meta;uses:=&quot;javax.annotation&quot;;version=&quot;${project.version}&quot;"/>
+        <attribute name="Import-Package" 
value="javax.annotation,javax.annotation.meta"/>
+        <attribute name="Require-Capability" 
value="osgi.ee;filter:=&quot;(&amp;(osgi.ee=JavaSE)(version=${compiler.target}))&quot;"/>
+      </manifest>
+    </jar>
+  </target>
+
+  <!-- ====================================================================== 
-->
+  <!-- A dummy target for the package named after the type it creates         
-->
+  <!-- ====================================================================== 
-->
 
-</project>
+  <target name="jar" depends="package" description="Builds the jar for the 
application"/>
 
-<!-- vim:set ts=4: -->
+</project>

Reply via email to