From 2a76f8e704814c688610a33ae0873350b1d2a061 Mon Sep 17 00:00:00 2001 From: chengquan Date: Fri, 6 Mar 2020 11:27:56 +0800 Subject: [PATCH] remove doc package. --- python-systemd.spec | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/python-systemd.spec b/python-systemd.spec index 00b4a9d..aa819c1 100644 --- a/python-systemd.spec +++ b/python-systemd.spec @@ -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 - 234-10 +- remove doc package. + * Sat Oct 26 2019 openEuler Buildteam - 234-9 - optimize spec file. -- Gitee