[ldc/f17] fiw 32bit build
MERCIER Jonathan
bioinfornatics at fedoraproject.org
Wed Jun 6 16:25:58 UTC 2012
commit 8525b4d192df44d277ccf449f707c892fa4f1be5
Author: Jonathan MERCIER <bioinfornatics at gmail.com>
Date: Wed Jun 6 18:25:49 2012 +0200
fiw 32bit build
.gitignore | 1 +
ldc.spec | 5 ++---
sources | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3d53e1a..15cb458 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,3 +41,4 @@ ldc-20100804hg1655.tar.xz
/ldc-20120606git260faae.xz
/ldc-phobos-20120606git2bc3677.xz
/ldc-druntime-20120606git430c913.xz
+/ldc-20120606git1c301aa.xz
diff --git a/ldc.spec b/ldc.spec
index d6c7ff9..f963204 100644
--- a/ldc.spec
+++ b/ldc.spec
@@ -1,6 +1,6 @@
# debug info seem not works with D compiler
%global snapdate 20120606
-%global ldc_rev 260faae
+%global ldc_rev 1c301aa
%global phobos_rev 2bc3677
%global druntime_rev 430c913
%global alphatag %{snapdate}git%{ldc_rev}
@@ -175,14 +175,13 @@ mkdir -p %{buildroot}/%{_includedir}/d/ldc
mkdir -p %{buildroot}/%{_datadir}/geany/tags/
make %{?_smp_mflags} install DESTDIR=%{buildroot}
-find %{buildroot}/%{_includedir}/d/core -name "*.di" | xargs sed -i 's|/home/builder/rpmbuild/BUILD/ldc-20120602git509a579/runtime/druntime/src/||'
+find %{buildroot}/%{_includedir}/d/core -name "*.di" | xargs sed -i "s|\(// D import file generated from \)'/.*/%{name}-%{alphatag}/runtime/druntime/src/\(.*\)'|\1'\2'|"
# macros for D package
install --mode=0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.ldc
# geany tags
install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/
-
%post druntime -p /sbin/ldconfig
%postun druntime -p /sbin/ldconfig
%post phobos -p /sbin/ldconfig
diff --git a/sources b/sources
index 9e966fd..c01687c 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
-7bdb6dfabeb38e9c1abf8307262ac929 ldc-20120606git260faae.xz
+20347bb922603b8080fd6b6088ecfc68 ldc-20120606git1c301aa.xz
72271de8f33ae757d580080654a7bd9a ldc-phobos-20120606git2bc3677.xz
-6c76b91ec9ba0d6cbe56ec3c527b8425 ldc-druntime-20120606git430c913.xz
2207fd2545a5fc62c93e3ba72c89c4ca macros.ldc
+6c76b91ec9ba0d6cbe56ec3c527b8425 ldc-druntime-20120606git430c913.xz
More information about the scm-commits
mailing list