[kpolynome] Fix FTBFS bug #715816

mbooth mbooth at fedoraproject.org
Tue Jun 28 14:53:45 UTC 2011


commit 2a17fc716b02e723283d6481b9464eb0ecfe6450
Author: mbooth <fedora at matbooth.co.uk>
Date:   Tue Jun 28 15:50:21 2011 +0100

    Fix FTBFS bug #715816

 kpolynome-configure.patch |   11 +++++++++++
 kpolynome.spec            |    8 +++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/kpolynome-configure.patch b/kpolynome-configure.patch
new file mode 100644
index 0000000..d54f16c
--- /dev/null
+++ b/kpolynome-configure.patch
@@ -0,0 +1,11 @@
+--- ./configure.orig	2011-06-28 15:36:01.068976001 +0100
++++ ./configure	2011-06-28 15:43:17.743976001 +0100
+@@ -1061,6 +1061,8 @@
+ verbose=
+ x_includes=NONE
+ x_libraries=NONE
++unsermake_enable_pch_TRUE='#'
++unsermake_enable_pch_FALSE=
+ 
+ # Installation directory options.
+ # These are left unexpanded so users can "make install exec_prefix=/foo"
diff --git a/kpolynome.spec b/kpolynome.spec
index 04fbda5..bc64b55 100644
--- a/kpolynome.spec
+++ b/kpolynome.spec
@@ -1,7 +1,7 @@
 Name:             kpolynome
 #Version          0.1-2   second upstream release
 Version:          0.1.2
-Release:          16%{?dist}
+Release:          17%{?dist}
 Summary:          A polynome calculation program
 
 License:          GPLv2
@@ -11,6 +11,7 @@ Source:           http://downloads.sourceforge.net/project/kpolynome/Source/0.1-
 Patch0:           kpolynome-0.1-2-desktop.patch
 Patch1:           %{name}-%{version}-autotools.patch
 Patch2:           kpolynome-0.1-gcc43.patch
+Patch3:           kpolynome-configure.patch
 
 BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -35,6 +36,8 @@ based on given data coordinates.
 
 %{__make} -f admin/Makefile.common cvs
 
+%patch3 -p0 -b .orig
+
 %build
 %configure --disable-rpath
 %{__make} %{?_smp_mflags}
@@ -82,6 +85,9 @@ touch --no-create %{_datadir}/icons/hicolor || :
 %{_datadir}/icons/hicolor/??x??/apps/%{name}.png
 
 %changelog
+* Tue Jun 28 2011 Mat Booth <fedora at matbooth.co.uk> - 0.1.2-17
+- Fix FTBFS bug #715816
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.2-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list