commit dub for openSUSE:Factory
Hello community, here is the log from the commit of package dub for openSUSE:Factory checked in at 2018-08-31 10:48:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dub (Old) and /work/SRC/openSUSE:Factory/.dub.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dub" Fri Aug 31 10:48:02 2018 rev:11 rq:632375 version:1.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/dub/dub.changes 2018-07-09 13:31:32.562466220 +0200 +++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes 2018-08-31 10:48:03.983466980 +0200 @@ -1,0 +2,10 @@ +Thu Aug 30 19:41:40 UTC 2018 - guillaume.gardet@opensuse.org + +- Remove '-g' flag for armv6/armv7 as it breaks the build + +------------------------------------------------------------------- +Thu Aug 30 14:29:42 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org> + +- Use LDC compiler when DMD is not available + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dub.spec ++++++ --- /var/tmp/diff_new_pack.ej6L0m/_old 2018-08-31 10:48:04.543467672 +0200 +++ /var/tmp/diff_new_pack.ej6L0m/_new 2018-08-31 10:48:04.547467677 +0200 @@ -16,6 +16,13 @@ # +# DMD is available only on x86*. Use LDC otherwise. +%ifarch %{ix86} x86_64 +%bcond_without dcompiler_dmd +%else +%bcond_with dcompiler_dmd +%endif + Name: dub Version: 1.10.0 Release: 0 @@ -24,8 +31,13 @@ Group: Development/Languages/Other URL: http://code.dlang.org Source: https://github.com/dlang/dub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +%if %{with dcompiler_dmd} BuildRequires: dmd BuildRequires: phobos-devel +%else +BuildRequires: ldc +BuildRequires: ldc-phobos-devel +%endif BuildRequires: pkgconfig BuildRequires: pkgconfig(libcurl) @@ -48,7 +60,16 @@ echo "module dub.version_;" > source/dub/version_.d echo "enum dubVersion = \"%{version}\";" >> source/dub/version_.d -dmd -defaultlib=:libphobos2.so -ofbin/dub -w -O -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt +%if %{with dcompiler_dmd} + dmd -defaultlib=:libphobos2.so \ +%else + ldmd2 \ +%endif + -ofbin/dub -w -O \ +%ifnarch %arm + -g \ +%endif + -version=DubUseCurl -Isource -L-lcurl @build-files.txt %install mkdir -p %{buildroot}%{_bindir}/
participants (1)
-
root