Hello community,
here is the log from the commit of package nim for openSUSE:Factory checked in at 2019-06-01 09:58:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nim (Old)
and /work/SRC/openSUSE:Factory/.nim.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nim"
Sat Jun 1 09:58:38 2019 rev:11 rq:706734 version:0.19.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/nim/nim.changes 2019-05-22 12:20:14.476841828 +0200
+++ /work/SRC/openSUSE:Factory/.nim.new.5148/nim.changes 2019-06-01 09:58:40.555127065 +0200
@@ -1,0 +2,6 @@
+Fri May 31 16:16:04 UTC 2019 - Martin Pluskal
+
+- Force more optflags usage
+- Fix location of config files (boo#1137006)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nim.spec ++++++
--- /var/tmp/diff_new_pack.dW5KDb/_old 2019-06-01 09:58:41.519126620 +0200
+++ /var/tmp/diff_new_pack.dW5KDb/_new 2019-06-01 09:58:41.519126620 +0200
@@ -41,6 +41,7 @@
%setup -q
%build
+export CFLAGS="%{optflags}"
export NIMFLAGS="$(echo '%{optflags}' | sed 's/\([^[:space:]]\+\)/--passC:\1/g')"
export NIMFLAGS="$NIMFLAGS %{?jobs:--parallelBuild:%{jobs}}"
@@ -57,7 +58,7 @@
%install
./koch install %{buildroot}%{_libdir}
-mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_sysconfdir}/ \
+mkdir -p %{buildroot}%{_bindir}/ %{buildroot}%{_sysconfdir}/nim \
%{buildroot}%{_docdir}/nim/
ls ./bin | while read f; do
@@ -65,7 +66,7 @@
ln -s "%{_libdir}/nim/bin/$f" "%{buildroot}%{_bindir}/$f"
done
-mv -T %{buildroot}%{_libdir}/nim/config/ %{buildroot}%{_sysconfdir}/
+mv -T %{buildroot}%{_libdir}/nim/config/ %{buildroot}%{_sysconfdir}/nim/
mv -T %{buildroot}%{_libdir}/nim/doc/ %{buildroot}%{_docdir}/nim/
ln -s %{_docdir}/nim/ %{buildroot}%{_libdir}/nim/doc
@@ -74,7 +75,8 @@
%license copying.txt
%doc doc/advopt.txt doc/basicopt.txt
%doc %{_docdir}/nim/
-%config %{_sysconfdir}/nim*.cfg
+%dir %{_sysconfdir}/nim
+%config %{_sysconfdir}/nim/nim*.cfg
%{_bindir}/nim*
%{_libdir}/nim/