Hello community,

here is the log from the commit of package nim for openSUSE:Factory checked in 
at 2017-02-21 13:50:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nim (Old)
 and      /work/SRC/openSUSE:Factory/.nim.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nim"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nim/nim.changes  2017-02-06 15:04:08.951110763 
+0100
+++ /work/SRC/openSUSE:Factory/.nim.new/nim.changes     2017-02-21 
13:51:03.538369946 +0100
@@ -1,0 +2,9 @@
+Sun Feb 19 16:13:49 UTC 2017 - [email protected]
+
+- Update to version 0.16.0:
+  * No changelog available.
+- Build and install libraries, etc.
+- Install configuration files.
+- Recommend git for nimble.
+
+-------------------------------------------------------------------
@@ -8 +16,0 @@
-- Fixing spec summary
@@ -9,0 +18 @@
+- Fixing spec summary

Old:
----
  nim-0.15.2.tar.xz

New:
----
  nim-0.16.0.tar.xz

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

Other differences:
------------------
++++++ nim.spec ++++++
--- /var/tmp/diff_new_pack.0zZDS8/_old  2017-02-21 13:51:04.158282698 +0100
+++ /var/tmp/diff_new_pack.0zZDS8/_new  2017-02-21 13:51:04.162282135 +0100
@@ -17,33 +17,57 @@
 
 
 Name:           nim
-Version:        0.15.2
+Version:        0.16.0
 Release:        0
 Summary:        A statically typed, imperative programming language
 License:        MIT
 Group:          Development/Languages/Other
-Url:            http://nim-lang.org
-Source:         http://nim-lang.org/download/nim-%{version}.tar.xz
-ExclusiveArch:  %{ix86} x86_64
+Url:            https://nim-lang.org/
+Source:         https://nim-lang.org/download/nim-%{version}.tar.xz
+Recommends:     git
+ExclusiveArch:  %ix86 x86_64
 
 %description
-Nim is a statically typed, imperative programming language that tries to
-give the programmer ultimate power without compromises on runtime
-efficiency.
+Nim is a statically typed, imperative programming language that
+tries to give the programmer ultimate power without compromises on
+runtime efficiency.
 
 %prep
 %setup -q
 
 %build
-make %{?_smp_mflags} COMP_FLAGS="%{optflags} -w -fno-strict-aliasing"
+export NIMFLAGS="$(echo '%{optflags}' | sed 
's/\([^[:space:]]\+\)/--passC:\1/g')"
+export NIMFLAGS="$NIMFLAGS %{?jobs:--parallelBuild:%{jobs}}"
+
+make %{?_smp_mflags} V=1 \
+  CFLAGS="%{optflags}"
+./bin/nim c $NIMFLAGS koch
+
+./koch boot -d:release $NIMFLAGS \
+  -d:useGnuReadline
+./koch tools -d:release $NIMFLAGS
 
 %install
-install -D -p -m 0755 bin/nim \
-  %{buildroot}%{_bindir}/nim
+./koch install %{buildroot}%{_libdir}
+
+mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_sysconfdir}/ \
+  %{buildroot}%{_docdir}/nim/
+
+ls ./bin | while read f; do
+    install -Dpm 0755 "./bin/$f" "%{buildroot}%{_libdir}/nim/bin/$f"
+    ln -s "%{_libdir}/nim/bin/$f" "%{buildroot}%{_bindir}/$f"
+done
+
+mv -T %{buildroot}%{_libdir}/nim/config/ %{buildroot}%{_sysconfdir}/
+
+mv -T %{buildroot}%{_libdir}/nim/doc/ %{buildroot}%{_docdir}/nim/
+ln -s %{_docdir}/nim/ %{buildroot}%{_libdir}/nim/doc
 
 %files
 %defattr(-,root,root)
 %doc copying.txt
-%{_bindir}/nim
+%config %{_sysconfdir}/nim*.cfg
+%{_bindir}/nim*
+%{_libdir}/nim/
 
 %changelog

++++++ nim-0.15.2.tar.xz -> nim-0.16.0.tar.xz ++++++
++++ 9824424 lines of diff (skipped)


Reply via email to