From 4f816a44d11d640bd6dcd9b16f0da92efc1def4f Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Aug 19 2019 22:28:49 +0000 Subject: Temporarily stop building the documentation (to be reverted later) https://bugzilla.redhat.com/show_bug.cgi?id=1728055 https://bugzilla.redhat.com/show_bug.cgi?id=1728071 --- diff --git a/bodhi.spec b/bodhi.spec index d0ae581..3c5b2e4 100644 --- a/bodhi.spec +++ b/bodhi.spec @@ -23,7 +23,6 @@ BuildRequires: %{py3_dist backoff} BuildRequires: %{py3_dist bleach} BuildRequires: %{py3_dist click} BuildRequires: %{py3_dist colander} -BuildRequires: %{py3_dist cornice_sphinx} >= 0.3 BuildRequires: %{py3_dist cornice} >= 3.1 BuildRequires: %{py3_dist dogpile.cache} BuildRequires: %{py3_dist fedora_messaging} @@ -96,16 +95,6 @@ The Bodhi composer is the component that publishes Bodhi artifacts to repositories. -%package docs -Summary: Bodhi documentation - -Requires: filesystem - - -%description docs -Bodhi documentation. - - %package -n python3-bodhi Summary: Common files shared by bodhi-client and bodhi-server @@ -195,10 +184,6 @@ mv devel/development.ini.example development.ini %build %py3_build -make %{?_smp_mflags} -C docs html -make %{?_smp_mflags} -C docs man - - %install %py3_install @@ -215,9 +200,6 @@ install -m 640 production.ini %{buildroot}%{_sysconfdir}/%{name}/production.ini install -m 640 alembic.ini %{buildroot}%{_sysconfdir}/%{name}/alembic.ini install apache/%{name}.wsgi %{buildroot}%{_datadir}/%{name}/%{name}.wsgi -install -d %{buildroot}%{_mandir}/man1 -install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/ - %check # The tests need bodhi to be installed to pass. Let's build a venv so we can install bodhi @@ -239,7 +221,6 @@ install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/ %doc README.rst %{bashcomproot} %{_bindir}/bodhi -%{_mandir}/man1/bodhi.1* %files composer @@ -252,11 +233,6 @@ install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/ %{python3_sitelib}/%{name}/server/__pycache__/metadata.* -%files docs -%license COPYING -%doc docs/_build/html/ README.rst - - %files -n python3-bodhi %license COPYING %doc README.rst @@ -298,8 +274,6 @@ install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/ %dir %{_sysconfdir}/bodhi/ %{python3_sitelib}/%{name}/server %{python3_sitelib}/%{name}_server-%{version}-py%{python3_version}.egg-info -%{_mandir}/man1/bodhi-*.1* -%{_mandir}/man1/initialize_bodhi_db.1* %attr(-,bodhi,root) %{_datadir}/%{name} %attr(-,bodhi,bodhi) %config(noreplace) %{_sysconfdir}/bodhi/* %attr(0775,bodhi,bodhi) %{_localstatedir}/cache/bodhi