diff --git a/mail-notification-jb-gcc-format.patch b/mail-notification-jb-gcc-format.patch new file mode 100644 index 0000000..c99b01e --- /dev/null +++ b/mail-notification-jb-gcc-format.patch @@ -0,0 +1,15 @@ +Index: epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c +=================================================================== +--- epienbroek-mail-notification-eab5c13.orig/jbsrc/lib/src/core/jb-util.c ++++ epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c +@@ -208,6 +208,10 @@ jb_message_result_string_format (const c + g_free(message); + } + ++#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) ++static void print_warning_or_error (const char *prefix, const char *format, va_list args) __attribute__ ((format(printf, 1, 0))); ++#endif ++ + static void + print_warning_or_error (const char *prefix, const char *format, va_list args) + { diff --git a/mail-notification.spec b/mail-notification.spec index eeddb24..45813da 100644 --- a/mail-notification.spec +++ b/mail-notification.spec @@ -2,7 +2,7 @@ Name: mail-notification Version: 5.4 -Release: 68.git.%{git_revision}%{?dist} +Release: 69.git.%{git_revision}%{?dist} Summary: Status icon that informs you if you have new mail Group: Applications/Internet @@ -15,6 +15,9 @@ URL: http://www.nongnu.org/mailnotify/ # To regenerate source tarball: # wget https://github.com/epienbroek/mail-notification/tarball/$git_revision -O mail-notification-$git_revision.tar.gz Source0: mail-notification-%{git_revision}.tar.gz +# jb build system is turning on -Werror to build itself. This patch fixes a +# warning with current gcc +Patch0: mail-notification-jb-gcc-format.patch BuildRequires: gettext BuildRequires: desktop-file-utils, scrollkeeper @@ -65,6 +68,7 @@ Evolution support for Mail Notification. %prep %setup -q -n epienbroek-%{name}-%{git_revision} +%patch0 -p1 %build # Temporary build without any optimalisations so we @@ -167,6 +171,9 @@ touch --no-create %{_datadir}/icons/hicolor || : %changelog +* Fri Feb 15 2013 Toshio Kuratomi - 5.4-69.git.eab5c13 +- Fix FTBFS. Patch is to the complex build scripts rather than the installed code. + * Thu Feb 14 2013 Toshio Kuratomi - 5.4-68.git.eab5c13 - Remove --vendor from desktop-file-install on F19+ https://fedorahosted.org/fesco/ticket/1077