* Use %make_install rpm macro.
* Do not use fdupes on the whole build root.
* Do not explicitely package direcories containing files.
Change-Id: I88b1e52c3c0134a7bda76d17dd82bc774bc9b29f
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
%install
rm -rf %{buildroot}
-%__make DESTDIR=%{buildroot} install
+%make_install DESTDIR=%{buildroot}
%find_lang %{name}
-%fdupes %{buildroot}
+%fdupes %{buildroot}%{_datadir}
%clean
rm -rf %{buildroot}
%{_datadir}/ibus-libpinyin/setup
%{_datadir}/ibus-libpinyin/*.lua
%{_datadir}/ibus-libpinyin/db/*.db
-%dir %{_datadir}/ibus-libpinyin
-%dir %{_datadir}/ibus-libpinyin/db
%{_datadir}/ibus/component/*
+