Hello community, here is the log from the commit of package python-systemd for openSUSE:Factory checked in at 2017-11-17 10:36:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-systemd (Old) and /work/SRC/openSUSE:Factory/.python-systemd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-systemd" Fri Nov 17 10:36:57 2017 rev:8 rq:541808 version:234 Changes: -------- --- /work/SRC/openSUSE:Factory/python-systemd/python-systemd.changes 2017-11-11 14:15:53.619363921 +0100 +++ /work/SRC/openSUSE:Factory/.python-systemd.new/python-systemd.changes 2017-11-17 10:36:59.055275658 +0100 @@ -1,0 +2,8 @@ +Tue Nov 14 12:47:02 UTC 2017 - [email protected] + +- Use more of python building macros +- Do not build documentation (build is broken if /usr/bin/python is + not present anyways) +- Run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-systemd.spec ++++++ --- /var/tmp/diff_new_pack.2WfBea/_old 2017-11-17 10:36:59.715251502 +0100 +++ /var/tmp/diff_new_pack.2WfBea/_new 2017-11-17 10:36:59.715251502 +0100 @@ -39,19 +39,12 @@ BuildRequires: systemd-devel Requires: systemd Suggests: %{name}-doc -# SECTION docs -BuildRequires: python3-Sphinx # /SECTION %if %{with test} BuildRequires: %{python_module pytest} %endif %python_subpackages -%package -n %{name}-doc -Summary: Documentation for python-systemd -Group: Documentation/HTML -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, @@ -59,33 +52,25 @@ * 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 -n %{name}-doc -Documentation and help files for python-systemd. - %prep %setup -q %patch1 -p1 %patch100 -p1 %build -%{python_expand make PYTHON=$python %{?_smp_mflags} build} -make %{?_smp_mflags} sphinx-html -rm -r build/html/.buildinfo build/html/.doctrees build/html/_sources +%python_build %install -%{python_expand %make_install PYTHON=$python -%fdupes %{buildroot}/%{$python_sitearch}} +%python_install +%fdupes %{buildroot} %if %{with test} %check -%{python_expand make PYTHON=$python %{?_smp_mflags} check} +%python_exec setup.py check %endif %files %{python_files} %doc LICENSE.txt README.md %{python_sitearch}/* -%files -n %{name}-doc -%doc build/html - %changelog
