Accepting request 1140152 from home:gmbr3:Active

- Fixes for %_ibus_libexecdir moving to %_libexecdir (bsc#1174075)

OBS-URL: https://build.opensuse.org/request/show/1140152
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus-sunpinyin?expand=0&rev=45
This commit is contained in:
Takashi Iwai 2024-01-22 16:33:57 +00:00 committed by Git OBS Bridge
parent e44de97ae7
commit 22e7bff9ac
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 20 15:15:37 UTC 2024 - Callum Farmer <gmbr3@opensuse.org>
- Fixes for %_ibus_libexecdir moving to %_libexecdir (bsc#1174075)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 15 10:17:30 UTC 2021 - Cliff Zhao <qzhao@suse.com> Wed Dec 15 10:17:30 UTC 2021 - Cliff Zhao <qzhao@suse.com>

View File

@ -49,13 +49,13 @@ sed -i "s/exec python /exec python3 /g" wrapper/ibus/setup/ibus-setup-sunpinyin.
cd wrapper/ibus/ cd wrapper/ibus/
scons --prefix=%{_prefix} \ scons --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--libexecdir=%{_libdir}/ibus --libexecdir=%{_ibus_libexecdir}
%install %install
pushd wrapper/ibus/ pushd wrapper/ibus/
scons install --prefix=%{_prefix} \ scons install --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--libexecdir=%{_libdir}/ibus \ --libexecdir=%{_ibus_libexecdir} \
--install-sandbox=%{buildroot} --install-sandbox=%{buildroot}
popd popd
@ -67,8 +67,8 @@ chmod 755 %{buildroot}%{_datadir}/%{name}/setup/main.py
%defattr(-,root,root) %defattr(-,root,root)
%doc wrapper/ibus/README %doc wrapper/ibus/README
%license wrapper/ibus/COPYING wrapper/ibus/LGPL.LICENSE wrapper/ibus/OPENSOLARIS.LICENSE %license wrapper/ibus/COPYING wrapper/ibus/LGPL.LICENSE wrapper/ibus/OPENSOLARIS.LICENSE
%{_libdir}/ibus/ibus-engine-sunpinyin %{_ibus_libexecdir}/ibus-engine-sunpinyin
%{_libdir}/ibus/ibus-setup-sunpinyin %{_ibus_libexecdir}/ibus-setup-sunpinyin
%{_datadir}/%{name} %{_datadir}/%{name}
%{_datadir}/ibus/component/sunpinyin.xml %{_datadir}/ibus/component/sunpinyin.xml