commit petsc for openSUSE:Factory
Hello community, here is the log from the commit of package petsc for openSUSE:Factory checked in at 2018-04-02 22:49:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/petsc (Old) and /work/SRC/openSUSE:Factory/.petsc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "petsc" Mon Apr 2 22:49:16 2018 rev:10 rq:592908 version:3.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/petsc/petsc.changes 2018-03-14 19:37:23.624706012 +0100 +++ /work/SRC/openSUSE:Factory/.petsc.new/petsc.changes 2018-04-02 22:49:17.293711827 +0200 @@ -1,0 +2,25 @@ +Sun Apr 1 19:12:40 UTC 2018 - eich@suse.com + +- Convert doc package build to noarch. This will hopefully avoid + spurious build errors on SLE-12. + +------------------------------------------------------------------- +Tue Mar 27 16:29:59 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Set '-fPIC' also on aarch64 + +------------------------------------------------------------------- +Tue Mar 27 10:34:46 UTC 2018 - eich@suse.com + +- Reenable flavor 'serial' to build the doc package only + (bsc#1087050). + Note: for this flavor nothing else gets built: once the + missing dependencies have been fixed, rearrange the + #%if 0%{?makedoc:1} ... %endif. + +------------------------------------------------------------------- +Tue Mar 20 13:54:00 CET 2018 - ro@suse.de + +- use "-fPIC" also on s390, like on ppc64 (bsc#1086008) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ petsc.spec ++++++ --- /var/tmp/diff_new_pack.M5oRLq/_old 2018-04-02 22:49:18.305675034 +0200 +++ /var/tmp/diff_new_pack.M5oRLq/_new 2018-04-02 22:49:18.309674889 +0200 @@ -34,6 +34,12 @@ ExclusiveArch: do_not_build %endif +%if "%flavor" == "doc" +%define makedoc 1 +BuildArch: noarch +%{bcond_with hpc} +%endif + %if "%flavor" == "serial" %{bcond_with hpc} %endif @@ -175,6 +181,7 @@ Patch5: Python-Fix-a-number-of-scripts-to-by-Python-3-compliant.patch Url: http://www.mcs.anl.gov/petsc/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{!?makedoc:1} BuildRequires: fdupes BuildRequires: pkg-config BuildRequires: python2 @@ -215,6 +222,7 @@ BuildRequires: valgrind BuildRequires: xz BuildRequires: zlib-devel +%endif # !?makedoc %description PETSc is a suite of data structures and routines for the scalable @@ -300,6 +308,13 @@ %patch3 -p1 -b .error-detect %patch4 -p1 -b .pastix-detect %patch5 -p1 + +%if 0%{?makedoc:1} +%files doc +%defattr(-,root,root,-) +%doc docs/* +%else # !?makedoc + %if 0 && %{without hpc} cat > %{_sourcedir}/baselibs.conf <<EOF %{libname %_vers} @@ -320,7 +335,7 @@ %hpc_setup module load phdf5 scalapack openblas %endif -%ifarch ppc64le ppc64 +%ifarch ppc64le ppc64 s390 aarch64 export ARCHCFLAGS=-fPIC %endif @@ -595,12 +610,6 @@ %endif %{p_prefix}/share/petsc/examples -%if %{without mpi} -%files doc -%defattr(-,root,root,-) -%doc docs/* -%endif - %if %{with hpc} %files saws %defattr(-,root,root,-) @@ -608,4 +617,6 @@ %{p_prefix}/share/petsc/saws %endif +%endif # !?makedoc + %changelog ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.M5oRLq/_old 2018-04-02 22:49:18.341673725 +0200 +++ /var/tmp/diff_new_pack.M5oRLq/_new 2018-04-02 22:49:18.341673725 +0200 @@ -1,4 +1,5 @@ <multibuild> + <package>doc</package> <!-- <package>serial</package> --> <!-- <package>openmpi</package> --> <package>gnu-openmpi-hpc</package>
participants (1)
-
root@hilbert.suse.de