Accepting request 787483 from home:scarabeus_iv:branches:X11:Unity

- Fix build on py2 less system

OBS-URL: https://build.opensuse.org/request/show/787483
OBS-URL: https://build.opensuse.org/package/show/X11:Unity/libappindicator?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2020-04-07 09:42:08 +00:00 committed by Git OBS Bridge
parent 85518968cd
commit 78176252ea
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 23 13:32:23 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build on py2 less system
-------------------------------------------------------------------
Wed Feb 12 15:18:19 UTC 2020 - Maurizio Galli <maurizio.galli@gmail.com>

View File

@ -195,7 +195,7 @@ make -j1 V=1
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}%{python_sitearch}
%fdupes %{buildroot}%{python2_sitearch}
%post -n libappindicator%{sover} -p /sbin/ldconfig
@ -209,9 +209,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%files -n python2-appindicator
%license COPYING COPYING.LGPL.2.1
%doc README
%dir %{python_sitearch}/appindicator/
%{python_sitearch}/appindicator/__init__.py*
%{python_sitearch}/appindicator/_appindicator.so
%dir %{python2_sitearch}/appindicator/
%{python2_sitearch}/appindicator/__init__.py*
%{python2_sitearch}/appindicator/_appindicator.so
%dir %{_datadir}/pygtk/
%dir %{_datadir}/pygtk/2.0/
%dir %{_datadir}/pygtk/2.0/defs/