https://bugzilla.novell.com/show_bug.cgi?id=663245
https://bugzilla.novell.com/show_bug.cgi?id=663245#c1
Petr Mladek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Petr Mladek 2011-01-17 19:53:24 UTC ---
Thanks for hint. I need to have the same spec file also for older openSUSE
products and MeeGo. So, I have used the following:
%if 0%{?suse_version} > 01120
Requires(post): gtk2
Requires(postun): gtk2
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01120
PreReq: gtk2
%endif
[...]
%post
# update GNOME icon caches
%if 0%{?suse_version} > 01130
%icon_theme_cache_post
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01130
SuSEconfig --module gtk2 || true
%endif
[...]
%postun
# update GNOME icon caches
%if 0%{?suse_version} > 01130
%icon_theme_cache_postun
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 01130
SuSEconfig --module gtk2 || true
%endif
I hope that it is correct, including the prerequires. I will test and submit it
with LO-3.3-rc4.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.