You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- lapack.spec 2024-05-06 20:14:16.230600369 +0530+++ - 2024-05-06 20:15:58.956174187 +0530@@ -68,6 +68,7 @@
both single and double precision.
# LAPACK
+
%package -n liblapack%{so_ver}
Summary: Linear Algebra PACKage: Shared Library
Requires(post): update-alternatives
@@ -122,6 +123,7 @@
This package provides the static library for LAPACK.
# BLAS
+
%package -n libblas%{so_ver}
Summary: Basic Linear Algebra Subprograms: Shared Library
Requires(post): update-alternatives
...
OK, fine let us accept it, not too bad. On next commit, format_spec_file has a go at it again:
--- lapack.spec 2024-05-06 20:16:21.448316936 +0530+++ - 2024-05-06 20:16:51.197976356 +0530@@ -67,8 +67,8 @@
similar functionality is provided for real and complex matrices, in
both single and double precision.
-# LAPACK+# LAPACK
%package -n liblapack%{so_ver}
Summary: Linear Algebra PACKage: Shared Library
Requires(post): update-alternatives
@@ -122,8 +122,8 @@
This package provides the static library for LAPACK.
-# BLAS+# BLAS
%package -n libblas%{so_ver}
Summary: Basic Linear Algebra Subprograms: Shared Library
Requires(post): update-alternatives
...
Weird, but let us accept it. Upon next commit it has a go again:
Eventually, after a few osc ci runs which apparently enforces format_spec_file automatically, I have Texas sized blank spaces above all of these comments, which is undesirable and will need manual intervention to fix and commit using --noservice. I don't understand why the formatter keeps "fixing" its own blank lines before/after comments.
The text was updated successfully, but these errors were encountered:
Here is the original spec file (snippet) in a formatting as intended by its author:
Here is what happens after format_spec_file has a first go at it:
~> /usr/lib/obs/service/format_spec_file.files/prepare_spec lapack.spec | diff -u lapack.spec -
OK, fine let us accept it, not too bad. On next commit, format_spec_file has a go at it again:
Weird, but let us accept it. Upon next commit it has a go again:
And so on ad infinitum.
Eventually, after a few
osc ci
runs which apparently enforces format_spec_file automatically, I have Texas sized blank spaces above all of these comments, which is undesirable and will need manual intervention to fix and commit using--noservice
. I don't understand why the formatter keeps "fixing" its own blank lines before/after comments.The text was updated successfully, but these errors were encountered: