From 36c0636b9710cca02b6a2986d093b49ab2a44eaa Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jul 10 2020 18:24:59 +0000 Subject: Add lunr[languages] subpackage https://fedoraproject.org/wiki/Changes/PythonExtras --- diff --git a/python-lunr.spec b/python-lunr.spec index 6e5a217..d68d035 100644 --- a/python-lunr.spec +++ b/python-lunr.spec @@ -2,7 +2,7 @@ Name: python-%{pypiname} Version: 0.5.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A Python implementation of Lunr.js License: MIT @@ -38,6 +38,9 @@ Recommends: python3dist(nltk) >= 3.2.5 %description -n python3-%{pypiname} %_description +%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypiname} -i %{python3_sitelib}/%{pypiname}-*.egg-info languages} + + %prep %autosetup -n %{pypiname}.py-%{version} @@ -57,6 +60,9 @@ Recommends: python3dist(nltk) >= 3.2.5 %{python3_sitelib}/%{pypiname}/ %changelog +* Fri Jul 10 2020 Miro Hrončok - 0.5.8-3 +- Add lunr[languages] subpackage + * Thu Jun 25 2020 Robin Lee - 0.5.8-2 - BR python3dist(setuptools)