Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-unix-time for openSUSE:Factory 
checked in at 2024-11-02 16:12:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unix-time (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-unix-time.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-unix-time"

Sat Nov  2 16:12:35 2024 rev:25 rq:1220200 version:0.4.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-unix-time/ghc-unix-time.changes      
2024-06-17 19:29:52.851101556 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-unix-time.new.2020/ghc-unix-time.changes    
2024-11-02 16:12:51.089928860 +0100
@@ -1,0 +2,8 @@
+Tue Oct 29 01:03:19 UTC 2024 - Peter Simons <[email protected]>
+
+- Update unix-time to version 0.4.16.
+  Upstream added a new change log file in this release. With no
+  previous version to compare against, the automatic updater cannot
+  reliable determine the relevante entries for this release.
+
+-------------------------------------------------------------------

Old:
----
  unix-time-0.4.15.tar.gz

New:
----
  unix-time-0.4.16.tar.gz

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

Other differences:
------------------
++++++ ghc-unix-time.spec ++++++
--- /var/tmp/diff_new_pack.uPr7ud/_old  2024-11-02 16:12:51.657952441 +0100
+++ /var/tmp/diff_new_pack.uPr7ud/_new  2024-11-02 16:12:51.657952441 +0100
@@ -20,7 +20,7 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.15
+Version:        0.4.16
 Release:        0
 Summary:        Unix time parser/formatter and utilities
 License:        BSD-3-Clause
@@ -101,6 +101,7 @@
 %license LICENSE
 
 %files devel -f %{name}-devel.files
+%doc ChangeLog.md
 
 %files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
 %license LICENSE

++++++ unix-time-0.4.15.tar.gz -> unix-time-0.4.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.15/ChangeLog.md 
new/unix-time-0.4.16/ChangeLog.md
--- old/unix-time-0.4.15/ChangeLog.md   1970-01-01 01:00:00.000000000 +0100
+++ new/unix-time-0.4.16/ChangeLog.md   2001-09-09 03:46:40.000000000 +0200
@@ -0,0 +1,7 @@
+# ChangeLog for unix-time
+
+## v0.4.16
+
+* Make `tzset` optional.
+  [#65](https://github.com/kazu-yamamoto/unix-time/pull/65)
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.15/cbits/conv.c 
new/unix-time-0.4.16/cbits/conv.c
--- old/unix-time-0.4.15/cbits/conv.c   2001-09-09 03:46:40.000000000 +0200
+++ new/unix-time-0.4.16/cbits/conv.c   2001-09-09 03:46:40.000000000 +0200
@@ -55,7 +55,9 @@
 #else
     setenv("TZ", "", 1);
 #endif
+#if defined(HAVE_TZSET)
     tzset();
+#endif
     return tz;
 }
 
@@ -77,7 +79,9 @@
       unsetenv("TZ");
 #endif
     }
+#if defined(HAVE_TZSET)
     tzset();
+#endif
 }
 
 time_t c_parse_unix_time(char *fmt, char *src) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unix-time-0.4.15/unix-time.cabal 
new/unix-time-0.4.16/unix-time.cabal
--- old/unix-time-0.4.15/unix-time.cabal        2001-09-09 03:46:40.000000000 
+0200
+++ new/unix-time-0.4.16/unix-time.cabal        2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,6 @@
 cabal-version:      1.18
 name:               unix-time
-version:            0.4.15
+version:            0.4.16
 license:            BSD3
 license-file:       LICENSE
 maintainer:         Kazu Yamamoto <[email protected]>
@@ -25,6 +25,8 @@
     autom4te.cache
     cbits/config.h
 
+extra-doc-files:    ChangeLog.md
+
 source-repository head
     type:     git
     location: https://github.com/kazu-yamamoto/unix-time
@@ -51,17 +53,8 @@
     if impl(ghc >=7.8)
         cc-options: -fPIC
 
-    -- GHC 9.4.5, 9.6.1, and 9.6.2 on Windows do not link against mingwex, but
-    -- unix-time implicitly depends on this library due to the use of the
-    -- gettimeofday() function, which comes from mingwex on Windows. To avoid
-    -- linker errors in the absence of a mingwex dependency (see
-    -- https://gitlab.haskell.org/ghc/ghc/-/issues/23533 for an example of
-    -- this), we depend on mingwex explicitly here.
-    --
-    -- Other versions of GHC on Windows already depend on mingwex, so we guard
-    -- this behind appropriate conditionals.
     if os(windows)
-        if (impl(ghc >= 9.4.5) && !impl(ghc >= 9.4.6)) || (impl(ghc >= 9.6.1) 
&& !impl(ghc >= 9.6.3))
+        if ((impl(ghc >=9.4.5) && !impl(ghc >=9.4.6)) || (impl(ghc >=9.6.1) && 
!impl(ghc >=9.6.3)))
             extra-libraries: mingwex
 
     if os(windows)

Reply via email to