Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package opennlp-chunk-models for 
openSUSE:Factory checked in at 2024-09-25 21:53:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opennlp-chunk-models (Old)
 and      /work/SRC/openSUSE:Factory/.opennlp-chunk-models.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opennlp-chunk-models"

Wed Sep 25 21:53:13 2024 rev:2 rq:1203010 version:1.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/opennlp-chunk-models/opennlp-chunk-models.changes    
    2020-03-05 23:19:24.217215334 +0100
+++ 
/work/SRC/openSUSE:Factory/.opennlp-chunk-models.new.29891/opennlp-chunk-models.changes
     2024-09-25 21:53:25.776627027 +0200
@@ -1,0 +2,5 @@
+Tue Sep 24 14:00:24 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Use SOURCE_DATE_EPOCH for reproducible jar mtime
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ opennlp-chunk-models.spec ++++++
--- /var/tmp/diff_new_pack.blmolz/_old  2024-09-25 21:53:26.236646161 +0200
+++ /var/tmp/diff_new_pack.blmolz/_new  2024-09-25 21:53:26.236646161 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package opennlp-chunk-models
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,8 +24,8 @@
 URL:            https://opennlp.sourceforge.net
 Source0:        
https://repo1.maven.org/maven2/edu/washington/cs/knowitall/%{name}/%{version}/%{name}-%{version}-sources.jar
 Source1:        http://www.apache.org/licenses/LICENSE-2.0.txt
-BuildRequires:  java-devel
-BuildRequires:  javapackages-local
+BuildRequires:  java-devel >= 1.8
+BuildRequires:  javapackages-local >= 6
 BuildRequires:  unzip
 BuildArch:      noarch
 
@@ -35,10 +35,13 @@
 %prep
 %setup -q -c
 cp %{SOURCE1} LICENSE
-%pom_remove_parent
 
 %build
-jar -cf %{name}-%{version}.jar *.bin
+jar --create --verbose \
+%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
+    --date="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} 
+%%Y-%%m-%%dT%%H:%%M:%%SZ)" \
+%endif
+    --file=%{name}-%{version}.jar *.bin
 
 %install
 # jar
@@ -46,7 +49,7 @@
 install -pm 0644 %{name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}/%{name}.jar
 # pom
 install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name}
-install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
+%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom
 %add_maven_depmap %{name}/%{name}.pom %{name}/%{name}.jar
 
 %files -f .mfiles

Reply via email to