can't build against gtk 3.3 -> back to gtk2

This commit is contained in:
Jiri Moskovcak 2011-11-05 11:05:42 +01:00
parent f730b67d03
commit a5dae3a938

View File

@ -11,7 +11,7 @@ Group: System Environment/Libraries
URL: https://fedorahosted.org/abrt/ URL: https://fedorahosted.org/abrt/
Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
BuildRequires: dbus-devel BuildRequires: dbus-devel
BuildRequires: gtk3-devel BuildRequires: gtk2-devel
BuildRequires: curl-devel BuildRequires: curl-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: xmlrpc-c-devel BuildRequires: xmlrpc-c-devel
@ -208,7 +208,7 @@ mkdir -p m4
test -r m4/aclocal.m4 || touch m4/aclocal.m4 test -r m4/aclocal.m4 || touch m4/aclocal.m4
autoconf autoconf
automake automake
%configure --enable-gtk3 %configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 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 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
CFLAGS="-fno-strict-aliasing" CFLAGS="-fno-strict-aliasing"