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