Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package glucat for openSUSE:Factory checked in at 2023-03-15 18:56:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glucat (Old) and /work/SRC/openSUSE:Factory/.glucat.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glucat" Wed Mar 15 18:56:00 2023 rev:30 rq:1071905 version:0.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/glucat/glucat.changes 2022-06-21 16:33:13.127882163 +0200 +++ /work/SRC/openSUSE:Factory/.glucat.new.31432/glucat.changes 2023-03-15 18:56:04.044881191 +0100 @@ -1,0 +2,7 @@ +Sun Mar 12 04:55:37 UTC 2023 - Atri Bhattacharya <badshah...@gmail.com> + +- Disable building PDF documentation for openSUSE >= 1550 and 15.4 + temporarily, until real issue with respect to dot errors is + resolved. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glucat.spec ++++++ --- /var/tmp/diff_new_pack.kxU7Dd/_old 2023-03-15 18:56:04.704884702 +0100 +++ /var/tmp/diff_new_pack.kxU7Dd/_new 2023-03-15 18:56:04.708884723 +0100 @@ -1,7 +1,7 @@ # # spec file for package glucat # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,15 @@ %define skip_python2 1 %endif +# Build failures when building doc for 15.4 and TW +%if 0%{?suse_version} >= 1550 || (0%{?is_opensuse} && 0%{?sle_version} >= 150400) +%bcond_with pdfdoc +%else +%bcond_without pdfdoc +%endif + +%define doctargets %{?with_pdfdoc:doc}%{!?with_doc:html} + Name: %{pname}%{?psuffix} Version: 0.12.0 Release: 0 @@ -51,7 +60,9 @@ BuildRequires: %{python_module numpy} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +%python_subpackages %else +%if %{with pdfdoc} BuildRequires: texlive-collection-fontsrecommended BuildRequires: texlive-latex-bin BuildRequires: texlive-metafont-bin @@ -109,7 +120,7 @@ BuildRequires: tex(xkeyval.sty) BuildRequires: tex(xtab.sty) %endif -%python_subpackages +%endif %description GluCat is a library of template classes which model the universal @@ -150,7 +161,6 @@ %autosetup -p1 -n %{pname}-%{version} %build -sed -i "s|-march=native||g" configure %if %{with python} %{python_expand # Apply to all supported python flavors export PYTHON=$python @@ -162,6 +172,8 @@ --enable-pyclical \ --with-demo-dir=%{_docdir}/%{pname}-python%{$python_version}/demos +sed -i "s|-march=native||g" configure + %make_build clean all popd } @@ -170,9 +182,11 @@ --docdir=%{_docdir}/%{pname} \ --disable-pyclical +sed -i "s|-march=native||g" configure + %make_build clean all # Build doc only for main flavor -%make_build doc +%make_build -C doc/ %{doctargets} %endif %install @@ -187,7 +201,12 @@ } %else %make_install -make DESTDIR=%{buildroot} install-doc +# Manually install doc files +mkdir -p %{buildroot}%{_docdir}/%{pname} +cp -pr doc/api/html %{buildroot}%{_docdir}/%{pname}/ +%if %{with pdfdoc} +cp -pr doc/api/latex/*pdf %{buildroot}%{_docdir}/%{pname}/ +%endif %endif # REMOVE FILES PKGED USING %%doc ANYWAY OR OTHERWISE NOT NEEDED @@ -215,8 +234,10 @@ %files -n %{pname}-doc %dir %{_docdir}/%{pname} -%{_docdir}/%{pname}/html/ -%{_docdir}/%{pname}/pdf/ +%doc %{_docdir}/%{pname}/html/ +%if %{with pdfdoc} +%doc doc/api/latex/*.pdf +%endif %else