Hello community,

here is the log from the commit of package dub for openSUSE:Factory checked in 
at 2018-04-16 12:49:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dub (Old)
 and      /work/SRC/openSUSE:Factory/.dub.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dub"

Mon Apr 16 12:49:28 2018 rev:7 rq:596515 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/dub/dub.changes  2018-03-07 10:36:37.554261967 
+0100
+++ /work/SRC/openSUSE:Factory/.dub.new/dub.changes     2018-04-16 
12:49:30.319985511 +0200
@@ -1,0 +2,8 @@
+Sat Apr 14 10:02:07 UTC 2018 - matthias.elias...@gmail.com
+
+- Stop with static linking. Should resolve build issues in openSUSE:Factory
+- Remove dependency of git. It is not needed now when we don't use build script
+- Generate dub version file
+- Set defaultlib to libphobos2.so
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dub.spec ++++++
--- /var/tmp/diff_new_pack.HlQvYC/_old  2018-04-16 12:49:30.907964124 +0200
+++ /var/tmp/diff_new_pack.HlQvYC/_new  2018-04-16 12:49:30.907964124 +0200
@@ -22,11 +22,10 @@
 Summary:        Package manager and meta build tool for the D programming 
language
 License:        MIT
 Group:          Development/Languages/Other
-Url:            http://code.dlang.org
+URL:            http://code.dlang.org
 Source:         
https://github.com/dlang/dub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  dmd
-BuildRequires:  git
-BuildRequires:  phobos-devel-static
+BuildRequires:  phobos-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(libcurl)
 
@@ -45,7 +44,11 @@
 perl -i -pe 's{__DATE__}{""}g' source/dub/commandline.d
 
 %build
-./build.sh
+echo Generating version file...
+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
 
 %install
 mkdir -p %{buildroot}%{_bindir}/


Reply via email to