test if %{sles_version} works
%if 0%{?sles_version} || 0%{?suse_version}
%if 0%{?suse_version} == 1315
-%define disttag sles12
+%define disttag sles%{sles_version}
%endif
%endif
Summary: OpenHPC release files
Name: ohpc-release-factory
Version: %{ohpc_version}
-Release: 1%{?disttag}
+Release: 1.%{?disttag}
License: BSD-3
Group: %{PROJ_NAME}/admin
URL: https://github.com/openhpc/ohpc
