From 1d1267eb882939d5723edf0493302028803e0f46 Mon Sep 17 00:00:00 2001 From: Ralf Corsépius Date: Aug 06 2014 05:12:44 +0000 Subject: Add gshutdown-0.2.format-security.patch (F21FTBFS RHBZ#1106732, RHBZ#1037106). - Fix bogus %changelog entries. --- diff --git a/gshutdown-0.2-format-security.patch b/gshutdown-0.2-format-security.patch new file mode 100644 index 0000000..4469338 --- /dev/null +++ b/gshutdown-0.2-format-security.patch @@ -0,0 +1,21 @@ +diff -Naur gshutdown-0.2.old/src/gui.c gshutdown-0.2/src/gui.c +--- gshutdown-0.2.old/src/gui.c 2014-08-06 06:41:05.789103128 +0200 ++++ gshutdown-0.2/src/gui.c 2014-08-06 06:41:46.573613266 +0200 +@@ -725,7 +725,7 @@ + GTK_DIALOG_MODAL, + GTK_MESSAGE_QUESTION, + GTK_BUTTONS_YES_NO, +- message); ++ "%s", message); + + response = gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(GTK_WIDGET(dialog)); +@@ -759,7 +759,7 @@ + GTK_DIALOG_MODAL, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, +- message); ++ "%s", message); + gtk_dialog_run(GTK_DIALOG(dialog)); + gtk_widget_destroy(dialog); + diff --git a/gshutdown.spec b/gshutdown.spec index b0c7709..bab32da 100644 --- a/gshutdown.spec +++ b/gshutdown.spec @@ -1,6 +1,6 @@ Name: gshutdown Version: 0.2 -Release: 15%{?dist} +Release: 16%{?dist} Summary: GShutDown is an advanced shut down utility for GNOME Group: Applications/System @@ -15,6 +15,7 @@ BuildRequires: libnotify-devel, glib2-devel, gettext Patch0: gshutdown-0.2.libnotify-api.patch Patch1: gshutdown-0.2.explicitlink.patch Patch2: gshutdown-0.2-glib.patch +Patch3: gshutdown-0.2-format-security.patch %description GShutdown is an advanced shutdown utility which @@ -27,6 +28,7 @@ Also can be use under Xfce and KDE. %patch0 -p1 -b .libnotify-api %patch1 -p1 -b .explicitlink %patch2 -p1 -b .glib +%patch3 -p1 %build %configure @@ -70,6 +72,10 @@ touch --no-create %{_datadir}/icons/hicolor || : %changelog +* Wed Aug 06 2014 Ralf Corsépius - 0.2-16 +- Add gshutdown-0.2.format-security.patch (F21FTBFS RHBZ#1106732, RHBZ#1037106). +- Fix bogus %%changelog entries. + * Sat Jun 07 2014 Fedora Release Engineering - 0.2-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild @@ -118,11 +124,11 @@ touch --no-create %{_datadir}/icons/hicolor || : * Tue May 01 2007 Xavier lamien - 0.2-0.3.rc1 - Fixed redundant BR and Requires. -* Sun Jan 04 2007 Xavier lamien - 0.2-0.2.rc1 +* Thu Jan 04 2007 Xavier lamien - 0.2-0.2.rc1 - added post and postun for installed icons. - fixed release tags - Added timestamp in "make install". - Removed "--add-category" from desktop-file-install. -* Sat Jan 03 2007 Xavier lamien - 0.2-0.1.rc1 -- Initiale RPM release. +* Wed Jan 03 2007 Xavier lamien - 0.2-0.1.rc1 +- Initial RPM release.