[c++-gtk-utils] Fix for bz 925145.
airwave
airwave at fedoraproject.org
Tue Apr 2 19:46:24 UTC 2013
commit 034e6f5fb2b2c8049dbdb3c6ada90575281dad3c
Author: Frederik Holden <frederik+fedora at frh.no>
Date: Tue Apr 2 21:45:34 2013 +0200
Fix for bz 925145.
c++-gtk-utils.spec | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/c++-gtk-utils.spec b/c++-gtk-utils.spec
index 768bcb7..44381ac 100644
--- a/c++-gtk-utils.spec
+++ b/c++-gtk-utils.spec
@@ -1,6 +1,6 @@
Name: c++-gtk-utils
Version: 2.0.16
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A library for GTK+ programming with C++
Group: System Environment/Libraries
@@ -10,6 +10,9 @@ Source0: http://downloads.sourceforge.net/cxx-gtk-utils/%{name}-%{version
BuildRequires: glib2-devel
+# bz 925145
+BuildRequires: autoconf, libtool
+
# X11 tests:
BuildRequires: xorg-x11-server-Xvfb
@@ -84,14 +87,18 @@ cp -a %{name}-gtk{2,3}-%{version}
%build
pushd %{name}-gtk2-%{version}
-./bootstrap-gtk2.sh
+# autoreconf to update config.guess and config.sub for aarch64 (bz 925145)
+autoreconf --force --install
+%global _configure ./configure-gtk2
%configure --disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags} V=1
popd
pushd %{name}-gtk3-%{version}
-./bootstrap-gtk3.sh
+# autoreconf to update config.guess and config.sub for aarch64 (bz 925145)
+autoreconf --force --install
+%global _configure ./configure-gtk3
%configure --disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make %{?_smp_mflags} V=1
@@ -163,6 +170,10 @@ popd
%{_defaultdocdir}/%{name}/2.0/html
%changelog
+* Thu Mar 28 2013 Frederik Holden <frederik+fedora at frh.no> - 2.0.16-2
+- Temporary fix for bz 925145 (aarch64 support) until new upstream release.
+- Changed the build step so it doesn't unnecessarily ./configure twice.
+
* Wed Mar 13 2013 Frederik Holden <frederik+fedora at frh.no> - 2.0.16-1
- Updated to newest upstream release.
More information about the scm-commits
mailing list