Accepting request 667781 from home:eeich:factory_staging

- Disable HPC builds for ring testing on Factory submissions.

OBS-URL: https://build.opensuse.org/request/show/667781
OBS-URL: https://build.opensuse.org/package/show/science/superlu?expand=0&rev=9
This commit is contained in:
Egbert Eich 2019-01-22 12:09:57 +00:00 committed by Git OBS Bridge
parent df5e9ccd4a
commit c83b962a47
2 changed files with 10 additions and 8 deletions

View File

@ -1,8 +1,7 @@
-------------------------------------------------------------------
Mon Jan 21 15:09:13 UTC 2019 - eich@suse.com
Tue Jan 22 11:58:01 UTC 2019 - eich@suse.com
- Fix a word in a comment.
- Remove some colloquialism from a package description.
- Disable HPC builds for ring testing on Factory submissions.
-------------------------------------------------------------------
Fri Jan 18 14:46:44 UTC 2019 - eich@suse.com

View File

@ -38,6 +38,12 @@ ExclusiveArch: do_not_build
%undefine c_f_ver
%endif
%bcond_with ringdisabled
%if %{with_hpc} && %{with ringdisabled}
ExclusiveArch: do_not_build
%endif
%define package_name %pname
%if %{without hpc}
%define p_includedir %_includedir
@ -90,9 +96,7 @@ BuildRequires: suse-hpc >= 0.3
SuperLU is an algorithm that uses group theory to optimize LU
decomposition of sparse matrices.
Documentation can be found in the %{name}-doc package or on
http://www.netlib.org.
Docu can be found in the %{name}-doc package or on http://www.netlib.org.
%package -n lib%{name}%{?_sover}
Summary: SuperLU matrix solver
@ -144,7 +148,7 @@ decomposition of sparse matrices.
%patch2 -p1
%patch3 -p1
cp %SOURCE1 %SOURCE2 ./
# Create baselibs.conf dynamically (non-HPC build only).
# Create baselib.conf dynamically (non-HPC build only).
%if %{without hpc}
cat > %{_sourcedir}/baselibs.conf <<EOF
lib%{name}%{?_sover}
@ -219,7 +223,6 @@ EOF
%else
%post -n lib%{name}%{?_sover}
/sbin/ldconfig -N %hpc_libdir
%postun -n lib%{name}%{?_sover}
/sbin/ldconfig -N %hpc_libdir
%endif