Accepting request 69207 from home:vuntz:branches:GNOME:Factory

Fix macros, ouch

OBS-URL: https://build.opensuse.org/request/show/69207
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pango?expand=0&rev=64
This commit is contained in:
Dominique Leuenberger 2011-05-02 11:46:33 +00:00 committed by Git OBS Bridge
parent 3f328300ab
commit ec0f3e594c
2 changed files with 10 additions and 4 deletions

View File

@ -18,9 +18,9 @@ Requires(postun): pango-tools
# On install, update the cache
%pango_module_post \
%if "%_lib" == "lib64" \
%{_bindir}/pango-querymodules-64 > %{_sysconfdir}/pango/pango64.immodules \
%{_bindir}/pango-querymodules-64 > %{_sysconfdir}/pango/pango64.modules \
%else \
%{_bindir}/pango-querymodules > %{_sysconfdir}/pango/pango.immodules \
%{_bindir}/pango-querymodules > %{_sysconfdir}/pango/pango.modules \
%endif
# On uninstall, update the cache. Note: we ignore upgrades (already
@ -28,8 +28,8 @@ Requires(postun): pango-tools
%pango_module_postun \
if [ $1 -eq 0 ]; then \
%if "%_lib" == "lib64" \
%{_bindir}/pango-querymodules-64 > %{_sysconfdir}/pango/pango64.immodules \
%{_bindir}/pango-querymodules-64 > %{_sysconfdir}/pango/pango64.modules \
%else \
%{_bindir}/pango-querymodules > %{_sysconfdir}/pango/pango.immodules \
%{_bindir}/pango-querymodules > %{_sysconfdir}/pango/pango.modules \
%endif \
fi

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 2 12:18:16 CEST 2011 - vuntz@opensuse.org
- Fix %pango_module_post/%pango_module_postun to create the right
file (pango.modules instead of pango.immodules).
-------------------------------------------------------------------
Tue Apr 5 11:41:02 UTC 2011 - fcrozat@novell.com