[ldc/f17] build

MERCIER Jonathan bioinfornatics at fedoraproject.org
Sun Jun 3 13:51:02 UTC 2012


commit a661309522eafdb2f2897d2b185e3c270a0008bb
Author: Jonathan MERCIER <bioinfornatics at gmail.com>
Date:   Sun Jun 3 15:50:46 2012 +0200

    build

 ldc.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ldc.spec b/ldc.spec
index eb80bfa..3babc47 100644
--- a/ldc.spec
+++ b/ldc.spec
@@ -23,7 +23,7 @@
 
 Name:           ldc
 Version:        2
-Release:        17.%{alphatag}%{?dist}
+Release:        18.%{alphatag}%{?dist}
 Summary:        A compiler for the D programming language
 
 Group:          Development/Languages
@@ -187,11 +187,13 @@ geany -c geany_config -g phobos.d.tags $(find runtime/phobos/std -name "*.d")
 find import  -name "*.di" | xargs sed -i "s|%{_buildir}/%{name}-%{alphatag}/runtime/druntime/src|/usr/include/d|g"
 
 %install
-make %{?_smp_mflags} install DESTDIR=%{buildroot}
 mkdir -p %{buildroot}/%{_sysconfdir}/rpm
 mkdir -p %{buildroot}/%{_includedir}/d/ldc
 mkdir -p %{buildroot}/%{_datadir}/geany/tags/
 
+make %{?_smp_mflags} install DESTDIR=%{buildroot}
+find -name "*.di" %{buildroot}/%{_includedir}/d/core | xargs sed -i 's|/home/builder/rpmbuild/BUILD/ldc-20120602git509a579/runtime/druntime/src/||'
+
 # macros for D package
 install --mode=0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm/macros.ldc
 # geany tags
@@ -241,6 +243,9 @@ find %{buildroot}/%{_datadir}/devhelp/books/Phobos -name "*.html" | xargs sed -i
 %{_datadir}/devhelp/books/Phobos
 
 %changelog
+* Sun Jun 03 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-18.20120602gitd24592b
+- remove buildroot path into .di file
+
 * Fri Jun 02 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-17.20120602gitd24592b
 - fix bug to able tango build bis
 


More information about the scm-commits mailing list