Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package findbugs for openSUSE:Factory 
checked in at 2023-09-13 20:44:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/findbugs (Old)
 and      /work/SRC/openSUSE:Factory/.findbugs.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "findbugs"

Wed Sep 13 20:44:05 2023 rev:30 rq:1110689 version:3.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/findbugs/findbugs.changes        2019-09-30 
16:01:16.180917912 +0200
+++ /work/SRC/openSUSE:Factory/.findbugs.new.1766/findbugs.changes      
2023-09-13 20:44:47.338560359 +0200
@@ -1,0 +2,11 @@
+Tue Sep 12 15:15:11 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Modified patch:
+  * findbugs-javadoc.patch
+    + avoid timestamps in javadoc
+- Added patch:
+  * reproducible-now.patch
+    + use timestamp from the SOURCE_DATE_EPOCH environmental
+      variable, if it is set
+
+-------------------------------------------------------------------

New:
----
  reproducible-now.patch

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

Other differences:
------------------
++++++ findbugs.spec ++++++
--- /var/tmp/diff_new_pack.OKeUy3/_old  2023-09-13 20:44:49.490636868 +0200
+++ /var/tmp/diff_new_pack.OKeUy3/_new  2023-09-13 20:44:49.490636868 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package findbugs
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -48,6 +48,7 @@
 Patch4:         findbugs-dom4j.patch
 Patch5:         findbugs-jdk11.patch
 Patch6:         findbugs-javadoc.patch
+Patch7:         reproducible-now.patch
 BuildRequires:  ant
 BuildRequires:  apache-commons-lang
 BuildRequires:  desktop-file-utils
@@ -129,6 +130,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 cp -p %{SOURCE2} README.tools
 





++++++ findbugs-javadoc.patch ++++++
--- /var/tmp/diff_new_pack.OKeUy3/_old  2023-09-13 20:44:49.602640850 +0200
+++ /var/tmp/diff_new_pack.OKeUy3/_new  2023-09-13 20:44:49.606640992 +0200
@@ -1,18 +1,20 @@
 --- findbugs-3.0.1/build.xml   2018-12-19 16:12:01.609965260 +0100
 +++ findbugs-3.0.1/build.xml   2018-12-19 16:13:06.614286632 +0100
-@@ -1184,6 +1184,7 @@
+@@ -1184,6 +1184,8 @@
        <javadoc access="protected"
         author="true"
          packagenames="*"
-+        source="1.7"
++        source="8"
++        additionalparam="-notimestamp"
          destdir="${apiDoc.dir}"
          doctitle="FindBugs API Documentation"
          Header="&lt;b&gt;FindBugs&amp;trade; ${release.number}&lt;/b&gt;"
-@@ -1200,6 +1201,7 @@
+@@ -1200,6 +1202,8 @@
         
classpath="lib/bcel.jar:lib/junit.jar:lib/dom4j-1.6.1.jar:lib/jsr305.jar:lib/AppleJavaExtensions.jar"
          destdir="${annotationDoc.dir}"
          packagenames="edu.umd.cs.findbugs.annotations"
-+        source="1.7"
++        source="8"
++        additionalparam="-notimestamp"
          doctitle="FindBugs Annotation Documentation"
          nodeprecated="false" nodeprecatedlist="false" noindex="false" 
nonavbar= "false" notree="false"
          sourcepath="src/java:src/gui:src/antTask" splitindex="true" 
use="true" version="true"/>

++++++ reproducible-now.patch ++++++
--- findbugs-3.0.1/src/java/edu/umd/cs/findbugs/Version.java    2023-09-12 
16:45:13.900282199 +0200
+++ findbugs-3.0.1/src/java/edu/umd/cs/findbugs/Version.java    2023-09-12 
17:00:09.399877830 +0200
@@ -92,6 +92,10 @@
         SimpleDateFormat eclipseDateFormat = new SimpleDateFormat("yyyyMMdd", 
Locale.ENGLISH);
         SimpleDateFormat releaseDateFormat = new 
SimpleDateFormat(UpdateChecker.PLUGIN_RELEASE_DATE_FMT, Locale.ENGLISH);
         Date now = new Date();
+        if (System.getenv("SOURCE_DATE_EPOCH") != null) {
+            now = new Date(1000 * 
Long.parseLong(System.getenv("SOURCE_DATE_EPOCH")));
+        }
+
         COMPUTED_DATE = dateFormat.format(now);
         COMPUTED_ECLIPSE_DATE = eclipseDateFormat.format(now);
         String tmp =  releaseDateFormat.format(now);

Reply via email to