[rfdump] * Thu Jun 24 2014 Fabian Affolter <mail at fabian-affolter.ch> - 1.6-16 - Fix FTBFS with -Werror=format
Fabian Affolter
fab at fedoraproject.org
Tue Jun 24 06:17:30 UTC 2014
commit c16f6ffe52632392c7a963784f5c32e0efaf4c06
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Tue Jun 24 08:17:21 2014 +0200
* Thu Jun 24 2014 Fabian Affolter <mail at fabian-affolter.ch> - 1.6-16
- Fix FTBFS with -Werror=format-security (rhbz#1107014)
rfdump-1.6-error.patch | 20 ++++++++++++++++++++
rfdump.spec | 20 ++++++++++----------
2 files changed, 30 insertions(+), 10 deletions(-)
---
diff --git a/rfdump-1.6-error.patch b/rfdump-1.6-error.patch
new file mode 100644
index 0000000..c504ba2
--- /dev/null
+++ b/rfdump-1.6-error.patch
@@ -0,0 +1,20 @@
+--- src/main.c 2014-06-24 08:15:04.211951141 +0200
++++ src/main.c.new 2014-06-24 08:15:16.216043962 +0200
+@@ -97,7 +97,7 @@
+ GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT, /* GtkDialogFlags */
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_OK,
+- message);
++ "%s", message);
+ g_assert(d);
+ /*gint result =*/ gtk_dialog_run(GTK_DIALOG(d));
+ #if 0
+@@ -120,7 +120,7 @@
+ GTK_DIALOG_MODAL|GTK_DIALOG_DESTROY_WITH_PARENT, /* GtkDialogFlags */
+ GTK_MESSAGE_INFO,
+ GTK_BUTTONS_OK,
+- message);
++ "%s", message);
+ g_assert(d);
+ gtk_dialog_run(GTK_DIALOG(d));
+ gtk_widget_destroy(d);
diff --git a/rfdump.spec b/rfdump.spec
index 0600182..614706d 100644
--- a/rfdump.spec
+++ b/rfdump.spec
@@ -1,14 +1,14 @@
Name: rfdump
Version: 1.6
-Release: 15%{?dist}
-Summary: RFID tags detector
+Release: 16%{?dist}
+Summary: An RFID tags detector
-Group: Applications/Productivity
License: GPLv2+
URL: http://www.rfdump.org
Source0: http://www.rfdump.org/dl/%{name}-%{version}.tar.bz2
Patch0: %{name}-1.6-optflags.patch
-Patch1: %{name}-linking.patch
+Patch1: %{name}-1.6-linking.patch
+Patch2: %{name}-1.6-error.patch
BuildRequires: gtk2-devel
BuildRequires: expat-devel
@@ -29,13 +29,12 @@ works with the ACG Multi-Tag Reader or similar card reader hardware.
%setup -q
%patch0 -p0 -b .optflags
%patch1 -p0 -b .linking
-
+%patch2 -p0 -b .error
%build
%configure --disable-dependency-tracking
make %{?_smp_mflags}
-
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
desktop-file-install \
@@ -51,8 +50,10 @@ desktop-file-install \
%{_datadir}/%{name}/
%{_datadir}/pixmaps/%{name}.png
-
%changelog
+* Thu Jun 24 2014 Fabian Affolter <mail at fabian-affolter.ch> - 1.6-16
+- Fix FTBFS with -Werror=format-security (rhbz#1107014)
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
@@ -81,7 +82,7 @@ desktop-file-install \
- Patch for fixing #564793
* Tue Aug 11 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6-6
-- Use bzipped upstream tarball.
+- Use bzipped upstream tarball
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@@ -95,8 +96,7 @@ desktop-file-install \
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Mon Jan 05 2009 Fabian Affolter <mail at fabian-affolter.ch> - 1.6-2
-- Fixed source url
+- Fix source url
* Sat Jan 03 2009 Fabian Affolter <mail at fabian-affolter.ch> - 1.6-1
- Initial package for Fedora
-
More information about the scm-commits
mailing list