Added workaround -Wno-deprecated-declarations for fix FTBFS

epel9
Eduardo Echeverria 10 years ago
parent bae6dc0e7e
commit 13f999ef05

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

Loading…
Cancel
Save