public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/icu] f44: define the tzdata path as /usr/share/icu/tzdata/le
@ 2026-11-03  9:51 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-03  9:51 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-03  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03  9:51 [rpms/icu] f44: define the tzdata path as /usr/share/icu/tzdata/le Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox