From 82da2de05703aca8ed27f5a1e2ed65e4b9ccd734 Mon Sep 17 00:00:00 2001 From: mkasik Date: Fri, 2 Apr 2010 08:45:42 +0000 Subject: [PATCH] - rpmlint related changes: - Don't define RPATH - Remove static libs - Avoid expansion of some macros in changelog --- evince.spec | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/evince.spec b/evince.spec index d57c74b..1be8a49 100644 --- a/evince.spec +++ b/evince.spec @@ -6,7 +6,7 @@ Name: evince Version: 2.30.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Document viewer License: GPLv2+ and GFDL @@ -121,7 +121,7 @@ adds an additional tab called "Document" to the file properties dialog. --enable-dvi=yes \ --enable-djvu=yes \ --enable-t1lib=yes -make %{?_smp_mflags} V=1 +make %{?_smp_mflags} V=1 LIBTOOL=/usr/bin/libtool %install rm -rf $RPM_BUILD_ROOT @@ -138,8 +138,11 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications /bin/rm -rf $RPM_BUILD_ROOT/var/scrollkeeper # Get rid of static libs and .la files. rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/evince/2/backends/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/evince/2/backends/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/*.a # don't ship icon caches rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache @@ -237,6 +240,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : %{_libdir}/nautilus/extensions-2.0/libevince-properties-page.so %changelog +* Fri Apr 2 2010 Marek Kasik - 2.30.0-6 +- rpmlint related changes: +- Don't define RPATH +- Remove static libs +- Avoid expansion of some macros in changelog + * Fri Apr 2 2010 Marek Kasik - 2.30.0-5 - Update required versions of libraries - Remove unused patches @@ -570,7 +579,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || : * Mon May 22 2006 Kristian Høgsberg 0.5.3-1 - Bump poppler_version to 0.5.2. -- Package icons and add %post and %postun script to update icon cache. +- Package icons and add %%post and %%postun script to update icon cache. * Wed May 17 2006 Matthias Clasen - 0.5.3-1 - Update to 0.5.3