diff --git a/viewnior-0.7-dsofix.patch b/viewnior-0.7-dsofix.patch new file mode 100644 index 0000000..a50c89d --- /dev/null +++ b/viewnior-0.7-dsofix.patch @@ -0,0 +1,11 @@ +--- viewnior-0.7.orig/src/Makefile.in 2009-09-06 10:26:22.000000000 +0200 ++++ viewnior-0.7/src/Makefile.in 2010-02-17 00:43:15.000000000 +0100 +@@ -134,7 +134,7 @@ + INTLTOOL_PERL = @INTLTOOL_PERL@ + INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ + LD = @LD@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -lm + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ + LIBTOOL = @LIBTOOL@ diff --git a/viewnior.spec b/viewnior.spec index 251ec02..9d41e13 100644 --- a/viewnior.spec +++ b/viewnior.spec @@ -14,6 +14,7 @@ Group: User Interface/X License: GPLv3+ URL: http://xsisqox.github.com/Viewnior Source0: http://cloud.github.com/downloads/xsisqox/Viewnior/%{name}-%{version}.tar.gz +Patch0: viewnior-0.7-dsofix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel desktop-file-utils gettext intltool shared-mime-info @@ -38,6 +39,7 @@ its features are: %prep %setup -q +%patch0 -p1 -b .dsofix # fix spurious executable perms chmod 0644 AUTHORS ChangeLog COPYING NEWS README TODO src/* @@ -89,6 +91,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Tue Feb 16 2010 Christoph Wickert - 0.7-2 +- Add patch to fix DSO linking (#565018) +- Switch to %%bcond macro + * Mon Sep 07 2009 Christoph Wickert - 0.7-1 - Update to 0.7