!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
Version: 234
Release: 9
Release: 10
Summary: Python module for native access to the systemd facilities.
License: LGPLv2+
URL: https://github.com/systemd/%{name}
@ -18,6 +18,8 @@ BuildRequires: python2-devel
BuildRequires: python3-devel python3-sphinx python3-pytest
%endif
Obsoletes: python-systemd-doc
%description
Python module wrapping systemd functionality, includes sending of structured
messages to the journal and reading journal files, querying machine and boot
@ -52,15 +54,6 @@ Recommends: %{name}-help
Systemed functionality for Python3 Packages.
%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
%autosetup -p1
sed -i 's/py\.test/pytest/' Makefile
@ -119,10 +112,10 @@ make check PYTHON=%{__python3}
%exclude %{_pkgdocdir}/html
%endif
%files help
%doc %{_pkgdocdir}/html
%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
- optimize spec file.