[xneur] Hack disable -Werror to do not thread deprecated as error and allow build in rawhide. Problem maile

Pavel Alexeev hubbitus at fedoraproject.org
Sat Jan 28 15:03:59 UTC 2012


commit 6569788a6af0d7b1b3bcff84f5b611a07a50f6d5
Author: Pavel Alexeev (aka Pahan-Hubbitus) <pahan at hubbitus.info>
Date:   Sat Jan 28 19:04:04 2012 +0400

    Hack disable -Werror to do not thread deprecated as error and allow build in rawhide.
    	Problem mailed to author.

 xneur.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/xneur.spec b/xneur.spec
index 49faf34..c80eba0 100644
--- a/xneur.spec
+++ b/xneur.spec
@@ -3,7 +3,7 @@
 Summary:		X Neural Switcher
 Name:		xneur
 Version:		0.15.0
-Release:		3%{?SVN:.svn%{SVN}}%{?dist}
+Release:		4%{?SVN:.svn%{SVN}}%{?dist}
 License:		GPLv2+
 Group:		User Interface/Desktops
 URL:			http://www.xneur.ru
@@ -57,6 +57,7 @@ developing applications that use %{name}.
 %prep
 %setup -q
 
+
 %build
 %if 0%{?SVN}
 ./autogen.sh
@@ -68,6 +69,9 @@ developing applications that use %{name}.
 	--without-xosd
 %endif
 
+# Hack disable -Werror to do not thread deprecated as error and allow build in rawhide:
+sed -i 's#-Werror ##g' lib/main/Makefile
+
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 
@@ -118,6 +122,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Sat Jan 28 2012 Pavel Alexeev <Pahan at Hubbitus.info> - 0.15.0-4
+- Hack disable -Werror to do not thread deprecated as error and allow build in rawhide.
+	Problem mailed to author.
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.15.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list