[xlockmore] fixed "xlockmore FTBFS if "-Werror=format-security" flag is used" (#1037397)
Adrian Reber
adrian at fedoraproject.org
Thu Dec 5 10:18:20 UTC 2013
commit c8437568b45a980d65a996ef8cc0ead5b70fe51c
Author: Adrian Reber <adrian at lisas.de>
Date: Thu Dec 5 11:18:15 2013 +0100
fixed "xlockmore FTBFS if "-Werror=format-security" flag is used" (#1037397)
xlockmore.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xlockmore.spec b/xlockmore.spec
index 9b381d1..09d7f66 100644
--- a/xlockmore.spec
+++ b/xlockmore.spec
@@ -1,7 +1,7 @@
Summary: Screen lock and screen saver
Name: xlockmore
Version: 5.43
-Release: 2%{?dist}
+Release: 3%{?dist}
License: BSD
Group: Amusements/Graphics
URL: http://www.tux.org/~bagleyd/xlockmore.html
@@ -41,7 +41,7 @@ GTK based frontend for xlockmore.
%setup -q
%patch0
-%{__sed} -i -e "s,/lib,/%{_lib},g" configure
+%{__sed} -i -e "s,/lib,/%{_lib},g;s,-Wno-format,,g;" configure
%build
%configure --with-crypt --enable-pam --enable-syslog --disable-setuid
@@ -104,6 +104,9 @@ desktop-file-install \
%{_bindir}/xglock
%changelog
+* Thu Dec 05 2013 Adrian Reber <adrian at lisas.de> - 5.43-3
+- fixed "xlockmore FTBFS if "-Werror=format-security" flag is used" (#1037397)
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.43-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list