diff --git a/ibus.changes b/ibus.changes index 6058df9..802b3a4 100644 --- a/ibus.changes +++ b/ibus.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Oct 4 07:08:11 UTC 2023 - Marguerite Su + +- macros.ibus: + * set %ibus_table_index_post() to %nil. it'll trigger ibus-table-createdb + to create_indexes() for the existing db. but according to upstream, + create_indexes() is now a dummy function, and it didn't bring + any performance improvements before. and on rpmlint side, + it will modify the final filelist. + ------------------------------------------------------------------- Fri Mar 31 14:15:38 UTC 2023 - Andreas Schneider diff --git a/macros.ibus b/macros.ibus index bab7b13..2328ddf 100644 --- a/macros.ibus +++ b/macros.ibus @@ -3,8 +3,6 @@ # in %%files section # For ibus table packaging, you have to: # Use %%ibus_table_requires as requires -# Use %%ibus_table_index_post %%DB_NAME in %%post to create -# table indexes for your table package. %_ibus_includedir %{_includedir}/ibus-1.0 %_ibus_libdir %{_libdir}/ibus %_ibus_libexecdir %{_ibus_libdir} @@ -22,13 +20,6 @@ Requires: ibus %ibus_table_requires \ Requires: ibus-table -Requires(post): ibus-table %ibus_table_index_post() \ -%if "x%1" != "x%%1" \ -DB_NAME="%1" \ -%else \ -echo "Missing argument DB_NAME in call to %%ibus_table_create_index." \ -false \ -%endif \ -/usr/bin/ibus-table-createdb -i -n %{_ibus_tabledir}/${DB_NAME}.db || true +%nil