diff --git a/cadabra2.changes b/cadabra2.changes index e81f0b6..bb0f600 100644 --- a/cadabra2.changes +++ b/cadabra2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Jan 27 22:08:29 UTC 2018 - badshah400@gmail.com + +- Disable building LaTeX-based PDF documentation until build + failures are fixed. +- For the -gui package use post(un) scriptlets only for openSUSE + <= 1320; for newer openSUSE, these are handled by rpm triggers + automatically. + ------------------------------------------------------------------- Fri Dec 29 08:33:37 UTC 2017 - kkaempf@suse.com diff --git a/cadabra2.spec b/cadabra2.spec index 050100d..32fd75c 100644 --- a/cadabra2.spec +++ b/cadabra2.spec @@ -182,9 +182,11 @@ make %{?_smp_mflags} popd doxygen -pushd doxygen/latex -make %{?_smp_mflags} -popd + +# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED +#pushd doxygen/latex +#make %{?_smp_mflags} +#popd %install %cmake_install DESTDIR=%{buildroot} @@ -198,20 +200,24 @@ install -D -m0644 %{S:2} %{buildroot}%{_datadir}/metainfo/%{name}-gtk.appdata.xm sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}/cadabra2 %post -%{_bindir}/texhash +# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED +#%{_bindir}/texhash /sbin/ldconfig +%postun +# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED +#%{_bindir}/texhash +/sbin/ldconfig + +%if 0%{?suse_version} <= 1320 %post gui %icon_theme_cache_post %desktop_database_post -%postun -%{_bindir}/texhash -/sbin/ldconfig - %postun gui %icon_theme_cache_postun %desktop_database_postun +%endif %files %defattr(-,root,root) @@ -249,8 +255,9 @@ sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir} %defattr(-,root,root) %doc doxygen/html -%files doc-pdf -%defattr(-,root,root) -%doc doxygen/latex/refman.pdf +# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED +#%files doc-pdf +#%defattr(-,root,root) +#%doc doxygen/latex/refman.pdf %changelog