Accepting request 570277 from home:badshah400:branches:science
- 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. OBS-URL: https://build.opensuse.org/request/show/570277 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=15
This commit is contained in:
parent
d47bb9fc24
commit
4994f68e8a
@ -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
|
Fri Dec 29 08:33:37 UTC 2017 - kkaempf@suse.com
|
||||||
|
|
||||||
|
@ -182,9 +182,11 @@ make %{?_smp_mflags}
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
doxygen
|
doxygen
|
||||||
pushd doxygen/latex
|
|
||||||
make %{?_smp_mflags}
|
# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED
|
||||||
popd
|
#pushd doxygen/latex
|
||||||
|
#make %{?_smp_mflags}
|
||||||
|
#popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install DESTDIR=%{buildroot}
|
%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
|
sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}/cadabra2
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_bindir}/texhash
|
# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED
|
||||||
|
#%{_bindir}/texhash
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED
|
||||||
|
#%{_bindir}/texhash
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%if 0%{?suse_version} <= 1320
|
||||||
%post gui
|
%post gui
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
|
|
||||||
%postun
|
|
||||||
%{_bindir}/texhash
|
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
%postun gui
|
%postun gui
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%desktop_database_postun
|
%desktop_database_postun
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -249,8 +255,9 @@ sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc doxygen/html
|
%doc doxygen/html
|
||||||
|
|
||||||
%files doc-pdf
|
# FIXME: ENABLE WHEN LATEX DOC BUILDING IS FIXED
|
||||||
%defattr(-,root,root)
|
#%files doc-pdf
|
||||||
%doc doxygen/latex/refman.pdf
|
#%defattr(-,root,root)
|
||||||
|
#%doc doxygen/latex/refman.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user