Accepting request 499497 from home:Mailaender:branches:devel:languages:D
remove needless version2 OBS-URL: https://build.opensuse.org/request/show/499497 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=9
This commit is contained in:
parent
df82d8b00b
commit
e4643b4b2d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c80086174ca87281413d7510641caf99dc630e6cf228a619d0d989bbf53bdd2
|
||||
size 4947638
|
3
ldc-0.17.4-src.tar.gz
Normal file
3
ldc-0.17.4-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:48428afde380415640f3db4e38529345f3c8485b1913717995547f907534c1c3
|
||||
size 4935570
|
@ -1,3 +1,3 @@
|
||||
# library has a slightly other name, ignore this false positiv
|
||||
# library has a slightly other name, ignore this false positive
|
||||
addFilter("W: no-dependency-on ldc-runtime*")
|
||||
addFilter("W: no-dependency-on ldc-phobos*")
|
||||
|
12
ldc.changes
12
ldc.changes
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 29 19:50:03 UTC 2017 - mailaender@opensuse.org
|
||||
|
||||
- update to version 0.17.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 26 19:56:33 UTC 2017 - mailaender@opensuse.org
|
||||
|
||||
- update to version 0.17.3
|
||||
- https://en.opensuse.org/SourceUrls
|
||||
- drop workaround-buggy-llvm-config.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 15 15:47:39 UTC 2016 - schuetzm@gmx.net
|
||||
|
||||
|
14
ldc.spec
14
ldc.spec
@ -16,17 +16,14 @@
|
||||
#
|
||||
|
||||
Name: ldc
|
||||
Version: 0.17.0
|
||||
%define version2 0.17.0
|
||||
Version: 0.17.4
|
||||
Release: 0
|
||||
Summary: The LLVM D Compiler
|
||||
License: BSD-3-Clause and Artistic-1.0
|
||||
Group: Development/Languages/Other
|
||||
Url: https://github.com/ldc-developers/ldc
|
||||
Source0: ldc-%{version2}-src.tar.gz
|
||||
Url: https://wiki.dlang.org/LDC
|
||||
Source0: https://github.com/ldc-developers/ldc/releases/download/v%{version}/ldc-%{version}-src.tar.gz
|
||||
Source1: %{name}-rpmlintrc
|
||||
# PATCH-FIX-OPENSUSE workaround-buggy-llvm-config.patch bnc#856691
|
||||
Patch1: workaround-buggy-llvm-config.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: help2man
|
||||
BuildRequires: libconfig++-devel
|
||||
@ -80,14 +77,13 @@ This package contains the Phobos development files necessary for developing
|
||||
with LDC.
|
||||
|
||||
%prep
|
||||
%setup -q -n ldc-%{version2}-src
|
||||
%patch1 -p1
|
||||
%setup -q -n ldc-%{version}-src
|
||||
|
||||
%build
|
||||
#Needs to be compiled with clang, but opensuse_rules.cmake forces gcc so disable rule
|
||||
touch no-suse-rules
|
||||
%cmake \
|
||||
-DCMAKE_USER_MAKE_RULES_OVERRIDE=./no-suse-rules \
|
||||
-DCMAKE_USER_MAKE_RULES_OVERRIDE=./no-suse-rules \
|
||||
-DCMAKE_C_COMPILER="%{_bindir}/clang" \
|
||||
-DCMKAE_CXX_COMPILER="%{_bindir}/clang++" \
|
||||
-DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/d \
|
||||
|
@ -1,11 +0,0 @@
|
||||
diff -ur ldc-0.16.0-beta2-src.orig/cmake/Modules/FindLLVM.cmake ldc-0.16.0-beta2-src/cmake/Modules/FindLLVM.cmake
|
||||
--- ldc-0.16.0-beta2-src.orig/cmake/Modules/FindLLVM.cmake 2015-10-10 14:45:09.000000000 +0200
|
||||
+++ ldc-0.16.0-beta2-src/cmake/Modules/FindLLVM.cmake 2015-10-11 13:58:33.478728289 +0200
|
||||
@@ -142,6 +142,7 @@
|
||||
${_quiet_arg}
|
||||
)
|
||||
file(TO_CMAKE_PATH "${tmplibs}" tmplibs)
|
||||
+ string(REGEX REPLACE "\\.a" ".so" tmplibs ${tmplibs})
|
||||
string(REGEX MATCHALL "${pattern}[^ ]+" LLVM_${var} ${tmplibs})
|
||||
endmacro()
|
||||
|
Loading…
Reference in New Issue
Block a user