[cairo] Add ldconfig scriptlet calls to -gobject.
Ville Skyttä
scop at fedoraproject.org
Sat Jul 14 15:40:40 UTC 2012
commit 71156303829fba8f04bccdd259bc82a00a273ada
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jul 14 18:40:31 2012 +0300
Add ldconfig scriptlet calls to -gobject.
- Fix rpmlint's spaces vs tabs warnings.
cairo.spec | 29 ++++++++++++++++++-----------
1 files changed, 18 insertions(+), 11 deletions(-)
---
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ä <ville.skytta at iki.fi> - 1.12.2-2
+- Add ldconfig scriptlet calls to -gobject.
+- Fix rpmlint's spaces vs tabs warnings.
+
* Fri May 18 2012 Matthias Clasen <mclasen at redhat.com> - 1.12.2-1
- Update to 1.12.2
More information about the scm-commits
mailing list