From 1c8d27db0848e3c5a435c26c90bdc2ca6edf4b0b2fc2afffcccbca73c51f3690 Mon Sep 17 00:00:00 2001 From: Simon Lees Date: Mon, 15 Feb 2021 05:32:01 +0000 Subject: [PATCH] Accepting request 872226 from home:simotek:branches:X11:Enlightenment:Factory - Only create docs and examples packages once OBS-URL: https://build.opensuse.org/request/show/872226 OBS-URL: https://build.opensuse.org/package/show/X11:Enlightenment:Factory/python-efl?expand=0&rev=22 --- python-efl.changes | 5 +++++ python-efl.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-efl.changes b/python-efl.changes index 80e9b73..8edbd76 100644 --- a/python-efl.changes +++ b/python-efl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 10 04:15:45 UTC 2021 - Simon Lees + +- Only create docs and examples packages once + ------------------------------------------------------------------- Sun Nov 8 23:12:46 UTC 2020 - Simon Lees diff --git a/python-efl.spec b/python-efl.spec index 65f1bea..5d42cc6 100644 --- a/python-efl.spec +++ b/python-efl.spec @@ -72,19 +72,21 @@ Python bindings of the Enlightenment Foundation Libraries (efl). Python bindings of the Enlightenment Foundation Libraries (efl). %if 0%{?suse_version} -%package doc +%package -n python-efl-doc Summary: Documentation for python-efl Group: Documentation/HTML BuildRequires: %{python_module Sphinx} -%description doc +%description -n python-efl-doc HTML formated documentation for python-efl module. -%package examples +%package -n python-efl-examples Summary: Examples of python-efl usage Group: Documentation/Other +Provides: python3-efl-examples +Conflicts: otherproviders(python3-efl-examples) -%description examples +%description -n python-efl-examples Some examples of usage of python-efl. %endif @@ -141,10 +143,10 @@ rm -r "%{buildroot}/%{_docdir}/%{name}/" %{python_sitearch}/* %exclude %{_docdir}/python3-efl/html/ -%files %{python_files doc} +%files -n python-efl-doc %{_docdir}/python3-efl -%files %{python_files examples} +%files -n python-efl-examples %{_datadir}/python3-efl %endif