Use separate license and documentation directories

Apparently modulular server release needs to install python2- and
python3- packages with different versions.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-11-01 12:08:45 +01:00
parent 9a227e9f1e
commit 22c3d37ff4
1 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
Name: python-systemd
Version: 234
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Python module wrapping systemd functionality
License: LGPLv2+
@ -15,12 +15,11 @@ BuildRequires: web-assets-devel
BuildRequires: pytest
BuildRequires: python3-pytest
%global _docdir_fmt %{name}
%global _description \
Python module for native access to the systemd facilities. \
Functionality includes sending of structured messages to the journal \
and reading journal files, querying machine and boot identifiers and a \
lists of message identifiers provided by systemd. Other functionality \
Python module for native access to the systemd facilities.\
Functionality includes sending of structured messages to the journal\
and reading journal files, querying machine and boot identifiers and a\
lists of message identifiers provided by systemd. Other functionality\
provided by libsystemd is also wrapped.
%description %_description
@ -32,7 +31,6 @@ Summary: %{summary}
Provides: systemd-python = %{version}-%{release}
Provides: systemd-python%{?_isa} = %{version}-%{release}
Obsoletes: systemd-python < 230
Conflicts: python3-systemd < %{version}-%{release}
Recommends: %{name}-doc
%description -n python2-systemd %_description
@ -44,7 +42,6 @@ Summary: %{summary}
Provides: systemd-python3 = %{version}-%{release}
Provides: systemd-python3%{?_isa} = %{version}-%{release}
Obsoletes: systemd-python3 < 230
Conflicts: python2-systemd < %{version}-%{release}
Recommends: %{name}-doc
%description -n python3-systemd %_description
@ -99,6 +96,9 @@ make PYTHON=%{__python3} check
%doc %{_pkgdocdir}/html
%changelog
* Wed Nov 1 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 234-4
- Use separate license and documentation directories
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 234-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild