From 71156303829fba8f04bccdd259bc82a00a273ada Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Jul 14 2012 15:40:31 +0000 Subject: Add ldconfig scriptlet calls to -gobject. - Fix rpmlint's spaces vs tabs warnings. --- diff --git a/cairo.spec b/cairo.spec index 41449a8..553cc53 100644 --- a/cairo.spec +++ b/cairo.spec @@ -5,7 +5,7 @@ Summary: A 2D graphics library Name: cairo Version: 1.12.2 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://cairographics.org #VCS: git:git://git.freedesktop.org/git/cairo #Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.xz @@ -93,16 +93,16 @@ This package contains tools for working with the cairo graphics library. %setup -q %build -%configure --disable-static \ - --enable-warnings \ - --enable-xlib \ - --enable-freetype \ - --enable-ps \ - --enable-pdf \ - --enable-svg \ - --enable-tee \ - --enable-gl \ - --enable-gobject \ +%configure --disable-static \ + --enable-warnings \ + --enable-xlib \ + --enable-freetype \ + --enable-ps \ + --enable-pdf \ + --enable-svg \ + --enable-tee \ + --enable-gl \ + --enable-gobject \ --disable-gtk-doc sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -120,6 +120,9 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%post gobject -p /sbin/ldconfig +%postun gobject -p /sbin/ldconfig + %files %defattr(-,root,root,-) %doc AUTHORS BIBLIOGRAPHY BUGS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 NEWS README @@ -182,6 +185,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/cairo/ %changelog +* Sat Jul 14 2012 Ville Skyttä - 1.12.2-2 +- Add ldconfig scriptlet calls to -gobject. +- Fix rpmlint's spaces vs tabs warnings. + * Fri May 18 2012 Matthias Clasen - 1.12.2-1 - Update to 1.12.2