Author: arekm                        Date: Fri Jul 25 19:50:23 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2; fix 32 vs 64 bit issue

---- Files affected:
SPECS:
   librsvg.spec (1.130 -> 1.131) 

---- Diffs:

================================================================
Index: SPECS/librsvg.spec
diff -u SPECS/librsvg.spec:1.130 SPECS/librsvg.spec:1.131
--- SPECS/librsvg.spec:1.130    Wed Mar 12 01:29:16 2008
+++ SPECS/librsvg.spec  Fri Jul 25 21:50:17 2008
@@ -12,7 +12,7 @@
 Summary(uk.UTF-8):     SVG бібліотека
 Name:          librsvg
 Version:       2.22.2
-Release:       1
+Release:       2
 Epoch:         1
 License:       LGPL v2+
 Group:         X11/Libraries
@@ -42,6 +42,16 @@
 Obsoletes:     librsvg0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# see gtk+2.spec for source of these ifdefs
+%if "%{_lib}" != "lib"
+%define         libext          %(lib="%{_lib}"; echo ${lib#lib})
+%define         gtketcdir      /etc/gtk%{libext}-2.0
+%define         pqext           -%{libext}
+%else
+%define         gtketcdir      /etc/gtk-2.0
+%define         pqext           %{nil}
+%endif
+
 %description
 An library to render SVG (scalable vector graphics), databased upon
 libart.
@@ -153,12 +163,12 @@
 %post
 /sbin/ldconfig
 umask 022
-gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
+%{_bindir}/gdk-pixbuf-query-loaders%{pqext} > %{gtketcdir}/gdk-pixbuf.loaders
 
 %postun
 /sbin/ldconfig
 umask 022
-gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
+%{_bindir}/gdk-pixbuf-query-loaders%{pqext} > %{gtketcdir}/gdk-pixbuf.loaders
 
 %files
 %defattr(644,root,root,755)
@@ -196,7 +206,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.130  2008/03/12 00:29:16  patrys
+Revision 1.131  2008/07/25 19:50:17  arekm
+- rel 2; fix 32 vs 64 bit issue
+
+Revision 1.130  2008-03-12 00:29:16  patrys
 - 2.22.2
 - merged from DEVEL
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/librsvg.spec?r1=1.130&r2=1.131&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to