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] f45: define the tzdata path as /usr/share/icu/tzdata/le
Date: Tue, 03 Nov 2026 08:17:29 GMT [thread overview]
Message-ID: <179369384952.1.7377207451303355086.rpms-icu-d42d5c572d45@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/icu
Branch : f45
Commit : d42d5c572d45e775d69edfa761f094011b4472f8
Author : Remi Collet <remi@fedoraproject.org>
Date : 2026-11-03T07:13:04+01:00
Stats : +6/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/icu/c/d42d5c572d45e775d69edfa761f094011b4472f8?branch=f45
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 1e0d17b..754a6dc 100644
--- a/icu.spec
+++ b/icu.spec
@@ -39,6 +39,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
@@ -86,8 +87,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'
@@ -172,6 +176,7 @@ LD_LIBRARY_PATH=lib:stubdata:tools/ctestfw:$LD_LIBRARY_PATH bin/uconv -l
%license LICENSE
%doc icu4c/readme.html
%{_libdir}/*.so.*
+%dir %{_datadir}/%{name}
%files -n lib%{name}-devel
%license LICENSE
@@ -184,7 +189,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
reply other threads:[~2026-11-03 8:17 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=179369384952.1.7377207451303355086.rpms-icu-d42d5c572d45@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