diff --git a/Falcon-0.8.8-libdir.patch b/Falcon-0.8.8-libdir.patch new file mode 100644 index 0000000..ddb4bfe --- /dev/null +++ b/Falcon-0.8.8-libdir.patch @@ -0,0 +1,14 @@ +--- Falcon-0.8.8/core/include/falcon/config.h.in.libdir 2008-01-20 12:52:11.000000000 -0500 ++++ Falcon-0.8.8/core/include/falcon/config.h.in 2008-05-21 12:24:34.000000000 -0400 +@@ -69,9 +69,9 @@ + #define FALCON_DEFAULT_LOAD_PATH ".;@FINAL_DESTINATION@\\bin" + #else + #define FALCON_DEFAULT_BIN "@FINAL_DESTINATION@/bin" +- #define FALCON_DEFAULT_LIB "@FINAL_DESTINATION@/lib" ++ #define FALCON_DEFAULT_LIB "@FINAL_DESTINATION@/@TARGET_LIB_DIR@" + #define FALCON_DEFAULT_CONFIG "/etc" +- #define FALCON_DEFAULT_LOAD_PATH ".;@FINAL_DESTINATION@/lib/falcon" ++ #define FALCON_DEFAULT_LOAD_PATH ".;@FINAL_DESTINATION@/@TARGET_LIB_DIR@/falcon" + #endif + + #endif diff --git a/Falcon.spec b/Falcon.spec index 967ba8a..94a55ba 100644 --- a/Falcon.spec +++ b/Falcon.spec @@ -2,13 +2,14 @@ Name: Falcon Version: 0.8.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Falcon Programming Language Summary(it): Il linguaggio di programmazione Falcon License: GPLv2+ Group: Development/Languages URL: http://%{host}/ Source: http://%{host}/downloads/%{version}/%{name}-%{version}-fc9.tar.gz +Patch0: Falcon-0.8.8-libdir.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: bison cmake pcre-devel zlib-devel @@ -48,6 +49,7 @@ necessary for using the %{name} interpreter. %prep %setup -q +%patch0 -p1 -b .libdir %build @@ -100,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/faltest* %changelog +* Wed May 21 2008 Michel Salim - 0.8.8-3 +- Use correct libdir for module path + * Thu Apr 24 2008 Michel Salim - 0.8.8-2 - Updated license - Changed source URL to one that includes license grant