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 <