Accepting request 450995 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/450995 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-systemd?expand=0&rev=3
This commit is contained in:
commit
bb50351756
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 11:48:12 UTC 2017 - sebix+novell.com@sebix.at
|
||||
|
||||
- add doc package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 31 21:17:21 UTC 2015 - jweberhofer@weberhofer.at
|
||||
|
||||
|
@ -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 @@ Source: https://github.com/systemd/%{name}/archive/v%{version}.tar.gz#/%
|
||||
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 @@ Python module for native access to the systemd facilities. Functionality is sepe
|
||||
* 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 @@ make %{?_smp_mflags} check || :
|
||||
%doc LICENSE.txt README.md
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files doc
|
||||
%doc build/html
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user