!1 remove doc package.

Merge pull request !1 from chengquan/developer
This commit is contained in:
openeuler-ci-bot 2020-03-06 17:20:53 +08:00 committed by Gitee
commit f40312418e

View File

@ -3,7 +3,7 @@
Name: python-systemd Name: python-systemd
Version: 234 Version: 234
Release: 9 Release: 10
Summary: Python module for native access to the systemd facilities. Summary: Python module for native access to the systemd facilities.
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/systemd/%{name} URL: https://github.com/systemd/%{name}
@ -18,6 +18,8 @@ BuildRequires: python2-devel
BuildRequires: python3-devel python3-sphinx python3-pytest BuildRequires: python3-devel python3-sphinx python3-pytest
%endif %endif
Obsoletes: python-systemd-doc
%description %description
Python module wrapping systemd functionality, includes sending of structured Python module wrapping systemd functionality, includes sending of structured
messages to the journal and reading journal files, querying machine and boot messages to the journal and reading journal files, querying machine and boot
@ -52,15 +54,6 @@ Recommends: %{name}-help
Systemed functionality for Python3 Packages. Systemed functionality for Python3 Packages.
%endif %endif
%package help
Summary: Help files for %{name}
Requires: js-jquery
Provides: python-systemd-doc
Obsoletes: python-systemd-doc
%description help
Help files for %{name}
%prep %prep
%autosetup -p1 %autosetup -p1
sed -i 's/py\.test/pytest/' Makefile sed -i 's/py\.test/pytest/' Makefile
@ -119,10 +112,10 @@ make check PYTHON=%{__python3}
%exclude %{_pkgdocdir}/html %exclude %{_pkgdocdir}/html
%endif %endif
%files help
%doc %{_pkgdocdir}/html
%changelog %changelog
* Fri Mar 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 234-10
- remove doc package.
* Sat Oct 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 234-9 * Sat Oct 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 234-9
- optimize spec file. - optimize spec file.