SHA256
1
0
forked from pool/ldc

Accepting request 340750 from home:marc_schuetz:branches:devel:languages:D

- update to 0.16.0
- based on DMD 2.067.1

OBS-URL: https://build.opensuse.org/request/show/340750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=2
This commit is contained in:
Ismail Dönmez
2015-10-24 13:47:13 +00:00
committed by Git OBS Bridge
parent e1e1901251
commit 5259642f4b
5 changed files with 19 additions and 11 deletions

View File

@@ -16,13 +16,13 @@
#
Name: ldc
Version: 0.15.1
Version: 0.16.0
Release: 0
License: BSD-3-Clause and Artistic-1.0
Summary: The LLVM D Compiler
Url: https://github.com/ldc-developers/ldc
Group: Development/Languages/Other
Source0: ldc-0.15.1-src.tar.gz
Source0: ldc-0.16.0-src.tar.gz
# PATCH-FIX-OPENSUSE workaround-buggy-llvm-config.patch bnc#856691
Patch1: workaround-buggy-llvm-config.patch
BuildRequires: libconfig++-devel
@@ -56,7 +56,7 @@ This package contains the Phobos development files necessary for developing
with LDC.
%prep
%setup -q -n ldc-0.15.1-src
%setup -q -n ldc-0.16.0-src
%patch1 -p1
%build
@@ -64,6 +64,7 @@ mkdir build
pushd build
cmake -DD_VERSION=2 \
-DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
-DCMAKE_CXX_FLAGS=-std=c++11 \
-DCMAKE_INSTALL_PREFIX=%{_prefix} ..
make %{?_smp_mflags}
popd
@@ -76,7 +77,7 @@ popd
%files
%defattr(-,root,root)
%doc LICENSE README.md
%config %{_sysconfdir}/bash_completion.d/ldc
%config %{_sysconfdir}/bash_completion.d/ldc2
%config %{_sysconfdir}/ldc2.conf
%{_bindir}/ldc2
%{_bindir}/ldmd2