Accepting request 1115502 from home:MargueriteSu:branches:M17N
- 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. OBS-URL: https://build.opensuse.org/request/show/1115502 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=279
This commit is contained in:
parent
2f17d19a52
commit
3070747703
10
ibus.changes
10
ibus.changes
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 4 07:08:11 UTC 2023 - Marguerite Su <i@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 <asn@cryptomilk.org>
|
||||
|
||||
|
11
macros.ibus
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user