[ldc/f13/master] message de commit
MERCIER Jonathan
bioinfornatics at fedoraproject.org
Thu Aug 5 20:07:51 UTC 2010
commit 555b502a201a6be0d88d9dc51071ec9d4cde6175
Author: bioinfornatics <bioinfornatics at gmail.com>
Date: Thu Aug 5 22:07:44 2010 +0200
message de commit
.gitignore | 1 +
ldc.spec | 46 +++++++++++++++++++++++++++++-----------------
macros.ldc | 2 +-
sources | 2 +-
4 files changed, 32 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 51a3676..89656ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
ldc-20100609hg1653.tar.xz
+ldc-20100609hg1654.tar.xz
diff --git a/ldc.spec b/ldc.spec
index c47dfc2..7e808b4 100644
--- a/ldc.spec
+++ b/ldc.spec
@@ -1,22 +1,23 @@
%global alphatag 20100609
-%global hg_revision hg1653
+%global hg_revision hg1654
# The source for this package was pulled from upstream's mercurial (hg).
# Use the following commands to generate the tarball:
-# hg clone -r 1653 http://bitbucket.org/lindquist/ldc ldc-20100609hg1653
-# tar -cJvf ldc-20100609hg1653.tar.xz ldc-20100609hg1653
-
-Name: ldc
-Version: 0.9.2
-Release: 9.%{alphatag}%{hg_revision}%{?dist}
-Summary: It is a compiler for the D programming language
-
-Group: Development/Languages
-License: BSD
-URL: http://www.dsource.org/projects/ldc
-Source0: %{name}-%{alphatag}%{hg_revision}.tar.xz
-Source1: macros.%{name}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+# hg clone -r 1654 http://bitbucket.org/lindquist/ldc ldc-20100609hg1654
+# tar -cJvf ldc-20100609hg1654.tar.xz ldc-20100609hg1654
+
+Name: ldc
+Version: 0.9.2
+Release: 12.%{alphatag}%{hg_revision}%{?dist}
+Summary: It is a compiler for the D programming language
+
+Group: Development/Languages
+License: BSD
+URL: http://www.dsource.org/projects/ldc
+Source0: %{name}-%{alphatag}%{hg_revision}.tar.xz
+Patch0: %{name}-0.9.2-fix.patch
+Source1: macros.%{name}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: llvm-devel
BuildRequires: libconfig
@@ -54,15 +55,16 @@ implémenter.
%prep
%setup -q -n %{name}-%{alphatag}%{hg_revision}
+%patch0 -p1 -b .fix
%build
%cmake . -DCMAKE_CXX_FLAGS:STRING=-DLLVM_REV=101676
-make VERBOSE=1 %{?_smp_mflags}
+make %{?_smp_mflags} VERBOSE=1
%install
rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+make %{?_smp_mflags} install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/%{_sysconfdir}/rpm
# This empty file is removed because it's never used. "lib" is explicitely used
@@ -99,6 +101,16 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/rpm/macros.ldc
%changelog
+* Mon Aug 02 2010 Jonathan MERCIER <bioinfornatics at gmail.com> 0.9.2-12.20100609hg1654
+- Add patch
+
+* Mon Aug 02 2010 Jonathan MERCIER <bioinfornatics at gmail.com> 0.9.2-11.20100609hg1654
+- Add %%{?_smp_mflags} macro for makefile
+- Add flag -O2 for good optimizations in %%{_d_optflags} macro
+
+* Sun Aug 01 2010 Jonathan MERCIER <bioinfornatics at gmail.com> 0.9.2-10.20100609hg1654
+- Update to revision 1654
+
* Fri Jul 29 2010 Jonathan MERCIER <bioinfornatics at gmail.com> 0.9.2-9.20100609hg1653
- add %%{_d_libdir} macro in macros.ldc
- fix lib path in ldc.conf
diff --git a/macros.ldc b/macros.ldc
index e28abb4..60132c6 100644
--- a/macros.ldc
+++ b/macros.ldc
@@ -4,6 +4,6 @@
# Include directory where all .di or .d file are installed.
%_d_includedir %{_includedir}/d
# Compile options for ldc and make file
-%_d_optflags -release -w -g
+%_d_optflags -release -w -g -O2
# Lib directory path
%_d_libdir %{_libdir}/d
diff --git a/sources b/sources
index 6aa0921..8cd11c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ab466c6b8c673b65d4af77e16f04d568 ldc-20100609hg1653.tar.xz
+50636f835e252e4b81bb29e37c5112b5 ldc-20100609hg1654.tar.xz
More information about the scm-commits
mailing list