[nqp] add a comment while not all libtommath source files are deleted
Gerd Pokorra
gerd at fedoraproject.org
Fri Apr 4 07:47:40 UTC 2014
commit ed629e3024adf3daaf250da69c3b0ec30f9a98b1
Author: gerd <gp at zimt.uni-siegen.de>
Date: Fri Apr 4 09:47:21 2014 +0200
add a comment while not all libtommath source files are deleted
nqp.spec | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
---
diff --git a/nqp.spec b/nqp.spec
index e7fac93..53470e3 100644
--- a/nqp.spec
+++ b/nqp.spec
@@ -7,7 +7,7 @@
Name: nqp
Version: 0.0.%{year}.%{month}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Not Quite Perl (6)
Group: Development/Libraries
@@ -38,7 +38,15 @@ for the virtual machine.
%prep
%setup -q -n %{name}-%{year}.%{month}
-rm `find 3rdparty/libtommath -type f ! -name '*long*' -a ! -name '*.h'`
+#
+# see https://bugzilla.redhat.com/show_bug.cgi?id=1077812 why this files
+# are removed
+#
+# The upstream libtommath doesn't have the conversion from and to
+# float/double that NQP needs. bn_mp_(get|set)_long.c are extentions of the
+# origin libtommath source. The header files are needed to build.
+rm `find 3rdparty/libtommath -type f ! -name '*long.c' -a ! -name '*.h'`
+#
%patch0 -p0
@@ -85,6 +93,9 @@ CFLAGS="$RPM_OPT_FLAGS -fPIC" %{__make} # %{?_smp_mflags}
%changelog
+* Fri Apr 04 2014 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2014.03-3
+- add a comment while not all libtommath source files are deleted
+
* Thu Apr 03 2014 Gerd Pokorra <gp at zimt.uni-siegen.de> 0.0.2014.03-2
- add deleting of libtommath source files in prep section
More information about the scm-commits
mailing list