[pal/f16] Fixed the FTBFS problem bz715789

Martin Cermak mcermak at fedoraproject.org
Mon Aug 8 13:52:06 UTC 2011


commit bea84aba347edeb405180409fb5985d0b5f2a1c2
Author: Martin Cermak <mcermak at redhat.com>
Date:   Mon Aug 8 13:41:12 2011 +0200

    Fixed the FTBFS problem bz715789

 pal.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/pal.spec b/pal.spec
index b920f78..f88171a 100644
--- a/pal.spec
+++ b/pal.spec
@@ -1,7 +1,7 @@
 Summary:    Command line calendar that displays holidays and events
 Name:       pal
 Version:    0.4.3
-Release:    2%{?dist}
+Release:    3%{?dist}
 License:    GPLv2+
 Group:      Applications/Productivity
 Url:        http://palcal.sourceforge.net
@@ -22,6 +22,7 @@ gcal program, and the calendar program distributed with the BSDs.
 %setup -q
 sed -i 's/-o\ root//g' src/Makefile
 sed -i 's/-o\ root//g' src/convert/Makefile
+sed -i 's/G_CONST_RETURN/const/' src/*.c
 
 %build
 make DEBUG=1 -C src OPT="$RPM_OPT_FLAGS"
@@ -42,6 +43,9 @@ make -C src DESTDIR="$RPM_BUILD_ROOT" install-no-rm
 
 %changelog
 
+* Mon Aug  8 2011 Martin Cermak <mcermak at redhat.com> 0.4.3-3
+- Fixed the FTBFS problem bz715789
+
 * Sun May  1 2011 Martin Cermak <mcermak at redhat.com> 0.4.3-2
 - Description modified.
 - Standard URL for SF downloads used in Source0 


More information about the scm-commits mailing list