[ldc/f16] fix spec file

MERCIER Jonathan bioinfornatics at fedoraproject.org
Wed Jul 25 10:24:57 UTC 2012


commit 39049f170a0d26f6b94319abb4b3551b98099908
Author: Jonathan MERCIER <bioinfornatics at gmail.com>
Date:   Wed Jul 25 12:24:21 2012 +0200

    fix spec file

 ldc.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/ldc.spec b/ldc.spec
index 7e642bf..14bb400 100644
--- a/ldc.spec
+++ b/ldc.spec
@@ -160,7 +160,9 @@ find . -type f -exec sed -i 's/\r//g' {} \;
 # temp geany config directory for allow geany to generate tags
 mkdir geany_config
 
+
 sed -i "10a/#include <string.h>" dmd2/hdrgen.h
+cat dmd2/hdrgen.h
 
 %build
 %cmake  -DD_VERSION:STRING=2                        \
@@ -174,7 +176,9 @@ sed -i "10a/#include <string.h>" dmd2/hdrgen.h
         .
 make %{?_smp_mflags} VERBOSE=2 phobos2
 
-sed -i "s|/builddir/build/BUILD/ldc-%{alphatag}|/%{_includedir}/d|g" ldc2.conf
+sed -i \
+    -e "s|/builddir/build/BUILD/ldc-%{alphatag}|/%{_includedir}/d|g"  \
+    -e "s|druntime/src|druntime"  ldc2.conf
 cat ldc2.conf
 
 # generate geany tags


More information about the scm-commits mailing list