[derelict] update spec

MERCIER Jonathan bioinfornatics at fedoraproject.org
Sun Aug 11 09:16:24 UTC 2013


commit e9d66ae72204d61b38055cf07c928f9e26e72839
Author: bioinfornatics <bioinfornatics at fedoraproject.org>
Date:   Sun Aug 11 11:16:14 2013 +0200

    update spec

 derelict.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/derelict.spec b/derelict.spec
index 5955385..b3e147c 100644
--- a/derelict.spec
+++ b/derelict.spec
@@ -140,7 +140,9 @@ Fichier d'entête et bibliothèque pour derelict à utiliser en langage D.
 %setup -q -n %{name}-%{alphatag}
 # temp geany config directory for allow geany to generate tags
 mkdir -p geany_config
-sed -i 's/-lib -O -release -enable-inlining -property -w -wi/-soname="~libName~"."~MajorVersion~" %{_d_optflags} -enable-inlining -property -wi/g' build/build.d
+sed -i \
+  -e 's/-lib -O -release -enable-inlining -property -w -wi/-shared %{_d_optflags} -enable-inlining -property -wi/g'
+  -e '/104//            return format("ldc2 %s -soname=%s.%s -I../import -of%s%s.%s %s", compilerOptions, libName, MajorVersion, outdir, libName, FullVersion, files);d' build/build.d
 
 %build
 # build the builder


More information about the scm-commits mailing list