public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/icu] f44: define the tzdata path as /usr/share/icu/tzdata/le
Date: Tue, 03 Nov 2026 09:51:08 GMT	[thread overview]
Message-ID: <179369946842.1.2234988198680579200.rpms-icu-3ff34827aff8@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/icu
            Branch : f44
            Commit : 3ff34827aff8695c58e2c30bc8bbb792b8d0dd45
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-11-03T10:40:46+01:00
            Stats  : +12/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/icu/c/3ff34827aff8695c58e2c30bc8bbb792b8d0dd45?branch=f44

            Log:
            define the tzdata path as /usr/share/icu/tzdata/le
  or /usr/share/icu/tzdata/be on Big Endian

recommends icu-tzdata for updated time zones

---
diff --git a/icu.spec b/icu.spec
index 62782b7..3675709 100644
--- a/icu.spec
+++ b/icu.spec
@@ -9,7 +9,7 @@
 
 Name:      icu
 Version:   77.1
-Release:   3%{?dist}
+Release:   4%{?dist}
 Summary:   International Components for Unicode
 
 License:   Unicode-DFS-2016 AND BSD-2-Clause AND BSD-3-Clause AND NAIST-2003 AND LicenseRef-Fedora-Public-Domain
@@ -40,6 +40,7 @@ Tools and utilities for developing with icu.
 
 %package -n lib%{name}
 Summary: International Components for Unicode - libraries
+Recommends: icu-tzdata
 
 %description -n lib%{name}
 The International Components for Unicode (ICU) libraries provide
@@ -89,8 +90,11 @@ CFLAGS='%optflags -fno-strict-aliasing'
 CXXFLAGS='%optflags -fno-strict-aliasing'
 # Endian: BE=0 LE=1
 %if ! 0%{?endian}
-CPPFLAGS='-DU_IS_BIG_ENDIAN=1'
+CPPFLAGS='-DU_TIMEZONE_FILES_DIR=%{_datadir}/%{name}/tzdata/be -DU_IS_BIG_ENDIAN=1'
+%else
+CPPFLAGS='-DU_TIMEZONE_FILES_DIR=%{_datadir}/%{name}/tzdata/le'
 %endif
+export CPPFLAGS
 
 #rhbz856594 do not use --disable-renaming or cope with the mess
 OPTIONS='--with-data-packaging=library --disable-samples'
@@ -175,6 +179,7 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
 %license LICENSE
 %doc readme.html
 %{_libdir}/*.so.*
+%dir %{_datadir}/%{name}
 
 %files -n lib%{name}-devel
 %license LICENSE
@@ -187,7 +192,6 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %{_libdir}/%{name}
-%dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/%{version}
 %{_datadir}/%{name}/%{version}/install-sh
 %{_datadir}/%{name}/%{version}/mkinstalldirs
@@ -200,6 +204,11 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
 
 
 %changelog
+* Tue Nov 03 2026 Remi Collet <remi@fedoraproject.org> - 77.1-4
+- define the tzdata path as /usr/share/icu/tzdata/le
+  or /usr/share/icu/tzdata/be on Big Endian
+- recommends icu-tzdata for updated time zones
+
 * Wed Jul 01 2026 Mike FABIAN <mfabian@redhat.com> - 77.1-3
 - Update timezone data to 2026b
 

                 reply	other threads:[~2026-11-03  9:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179369946842.1.2234988198680579200.rpms-icu-3ff34827aff8@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox