Hello community, here is the log from the commit of package python-systemd for openSUSE:Factory checked in at 2017-01-25 23:25:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-systemd (Old) and /work/SRC/openSUSE:Factory/.python-systemd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-systemd" Changes: -------- --- /work/SRC/openSUSE:Factory/python-systemd/python-systemd.changes 2015-11-08 11:26:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-systemd.new/python-systemd.changes 2017-01-25 23:25:30.539113522 +0100 @@ -1,0 +2,5 @@ +Mon Jan 2 11:48:12 UTC 2017 - sebix+novell.com@sebix.at + +- add doc package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-systemd.spec ++++++ --- /var/tmp/diff_new_pack.9sAQJP/_old 2017-01-25 23:25:30.899059254 +0100 +++ /var/tmp/diff_new_pack.9sAQJP/_new 2017-01-25 23:25:30.903058650 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-systemd # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,12 +27,18 @@ BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: pkgconfig +BuildRequires: python-Sphinx BuildRequires: python-devel BuildRequires: python-pytest BuildRequires: python-setuptools BuildRequires: systemd-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +%package doc +Summary: Documentation for %name +Group: Documentation +Requires: %name = %version + %description Python module for native access to the systemd facilities. Functionality is seperated into a number of modules: * systemd.journal supports sending of structured messages to the journal and reading journal files, @@ -40,11 +46,16 @@ * systemd.id128 provides functions for querying machine and boot identifiers and a lists of message identifiers provided by systemd, * systemd.login wraps parts of libsystemd used to query logged in users and available seats and machines. +%description doc +Documentation and help files for %name + %prep %setup -q %build make %{?_smp_mflags} build +make sphinx-html +%{__rm} -r build/html/.buildinfo build/html/.doctrees build/html/_sources %install %make_install @@ -60,4 +71,7 @@ %doc LICENSE.txt README.md %{python_sitearch}/* +%files doc +%doc build/html + %changelog