[libappindicator] Added workaround -Wno-deprecated-declarations for fix FTBFS

Eduardo Javier Echeverria Alvarado echevemaster at fedoraproject.org
Wed Dec 31 01:51:37 UTC 2014


commit 13f999ef05529c8cdfe3ad30020fede745b4e14a
Author: Eduardo Echeverria <echevemaster at gmail.com>
Date:   Tue Dec 30 21:21:39 2014 -0430

    Added workaround -Wno-deprecated-declarations for fix FTBFS

 libappindicator.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libappindicator.spec b/libappindicator.spec
index 85c484c..65ee3e6 100644
--- a/libappindicator.spec
+++ b/libappindicator.spec
@@ -1,6 +1,6 @@
 Name:		libappindicator
 Version:	12.10.0
-Release:	6%{?dist}
+Release:	7%{?dist}
 Summary:	Application indicators library
 
 Group:		System Environment/Libraries
@@ -128,15 +128,17 @@ autoreconf -vfi
 mkdir build-gtk2 build-gtk3
 
 pushd build-gtk2
+export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations"
 %configure --with-gtk=2 --enable-gtk-doc --disable-static
 # Parallel make, crash the build
-make -j1 V=1
+make -j1 V=1 
 popd
 
 pushd build-gtk3
+export CFLAGS="%{optflags} $CFLAGS -Wno-deprecated-declarations"
 %configure --with-gtk=3 --enable-gtk-doc --disable-static
 # Parallel make, crash the build
-make -j1  V=1
+make -j1  V=1 
 popd
 
 
@@ -237,6 +239,9 @@ find %{buildroot} -type f -name '*.la' -delete
 
 
 %changelog
+* Mon Dec 29 2014 Eduardo Echeverria  <echevemaster at gmail.com> - 12.10.0-7
+- Added workaround -Wno-deprecated-declarations for fix FTBFS
+
 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 12.10.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list