Add ldconfig scriptlet calls to -gobject.

- Fix rpmlint's spaces vs tabs warnings.
This commit is contained in:
Ville Skyttä 2012-07-14 18:40:31 +03:00
parent 02d583f282
commit 7115630382

View File

@ -5,7 +5,7 @@
Summary: A 2D graphics library Summary: A 2D graphics library
Name: cairo Name: cairo
Version: 1.12.2 Version: 1.12.2
Release: 1%{?dist} Release: 2%{?dist}
URL: http://cairographics.org URL: http://cairographics.org
#VCS: git:git://git.freedesktop.org/git/cairo #VCS: git:git://git.freedesktop.org/git/cairo
#Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.xz #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 %setup -q
%build %build
%configure --disable-static \ %configure --disable-static \
--enable-warnings \ --enable-warnings \
--enable-xlib \ --enable-xlib \
--enable-freetype \ --enable-freetype \
--enable-ps \ --enable-ps \
--enable-pdf \ --enable-pdf \
--enable-svg \ --enable-svg \
--enable-tee \ --enable-tee \
--enable-gl \ --enable-gl \
--enable-gobject \ --enable-gobject \
--disable-gtk-doc --disable-gtk-doc
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 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 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 %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post gobject -p /sbin/ldconfig
%postun gobject -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS BIBLIOGRAPHY BUGS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 NEWS README %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/ %{_libdir}/cairo/
%changelog %changelog
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@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@redhat.com> - 1.12.2-1 * Fri May 18 2012 Matthias Clasen <mclasen@redhat.com> - 1.12.2-1
- Update to 1.12.2 - Update to 1.12.2