From e4643b4b2deb2b1b16a5422466841c55c5bc7699fe525969f2771ee38c91006c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 29 May 2017 19:58:23 +0000 Subject: [PATCH] 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 --- ldc-0.17.0-src.tar.gz | 3 --- ldc-0.17.4-src.tar.gz | 3 +++ ldc-rpmlintrc | 2 +- ldc.changes | 12 ++++++++++++ ldc.spec | 14 +++++--------- workaround-buggy-llvm-config.patch | 11 ----------- 6 files changed, 21 insertions(+), 24 deletions(-) delete mode 100644 ldc-0.17.0-src.tar.gz create mode 100644 ldc-0.17.4-src.tar.gz delete mode 100644 workaround-buggy-llvm-config.patch diff --git a/ldc-0.17.0-src.tar.gz b/ldc-0.17.0-src.tar.gz deleted file mode 100644 index 35417de..0000000 --- a/ldc-0.17.0-src.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c80086174ca87281413d7510641caf99dc630e6cf228a619d0d989bbf53bdd2 -size 4947638 diff --git a/ldc-0.17.4-src.tar.gz b/ldc-0.17.4-src.tar.gz new file mode 100644 index 0000000..18b4bac --- /dev/null +++ b/ldc-0.17.4-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48428afde380415640f3db4e38529345f3c8485b1913717995547f907534c1c3 +size 4935570 diff --git a/ldc-rpmlintrc b/ldc-rpmlintrc index 136a597..b458e58 100644 --- a/ldc-rpmlintrc +++ b/ldc-rpmlintrc @@ -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*") diff --git a/ldc.changes b/ldc.changes index 7110a0d..51e8585 100644 --- a/ldc.changes +++ b/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 diff --git a/ldc.spec b/ldc.spec index 141a4f7..b4e985f 100644 --- a/ldc.spec +++ b/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 \ diff --git a/workaround-buggy-llvm-config.patch b/workaround-buggy-llvm-config.patch deleted file mode 100644 index a50ac5d..0000000 --- a/workaround-buggy-llvm-config.patch +++ /dev/null @@ -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() -