Subpackage python2-whoosh has been removed
This commit is contained in:
parent
ac5b46eb4b
commit
8529fe3bce
@ -1,7 +1,3 @@
|
|||||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
|
||||||
%global with_python3 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# For bootstrapping sphinxcontrib-websupport
|
# For bootstrapping sphinxcontrib-websupport
|
||||||
%bcond_without docs
|
%bcond_without docs
|
||||||
|
|
||||||
@ -9,7 +5,7 @@
|
|||||||
|
|
||||||
Name: python-whoosh
|
Name: python-whoosh
|
||||||
Version: 2.7.4
|
Version: 2.7.4
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
Summary: Fast, pure-Python full text indexing, search, and spell checking library
|
Summary: Fast, pure-Python full text indexing, search, and spell checking library
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -17,19 +13,14 @@ URL: http://pythonhosted.org/Whoosh/
|
|||||||
Source0: https://pypi.python.org/packages/source/W/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/W/%{mod_name}/%{mod_name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
|
||||||
BuildRequires: python2-setuptools
|
|
||||||
BuildRequires: python2-pytest
|
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
BuildRequires: python2-sphinx
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Whoosh is a fast, featureful full-text indexing and searching library
|
Whoosh is a fast, featureful full-text indexing and searching library
|
||||||
@ -37,17 +28,6 @@ implemented in pure Python. Programmers can use it to easily add search
|
|||||||
functionality to their applications and websites. Every part of how Whoosh
|
functionality to their applications and websites. Every part of how Whoosh
|
||||||
works can be extended or replaced to meet your needs exactly.
|
works can be extended or replaced to meet your needs exactly.
|
||||||
|
|
||||||
%package -n python2-whoosh
|
|
||||||
Summary: Fast, Python3 full text indexing, search, and spell checking library
|
|
||||||
%{?python_provide:%python_provide python2-whoosh}
|
|
||||||
|
|
||||||
%description -n python2-whoosh
|
|
||||||
Whoosh is a fast, featureful full-text indexing and searching library
|
|
||||||
implemented in pure Python. Programmers can use it to easily add search
|
|
||||||
functionality to their applications and websites. Every part of how Whoosh
|
|
||||||
works can be extended or replaced to meet your needs exactly.
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%package -n python%{python3_pkgversion}-whoosh
|
%package -n python%{python3_pkgversion}-whoosh
|
||||||
Summary: Fast, Python3 full text indexing, search, and spell checking library
|
Summary: Fast, Python3 full text indexing, search, and spell checking library
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-whoosh}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-whoosh}
|
||||||
@ -57,13 +37,12 @@ Whoosh is a fast, featureful full-text indexing and searching library
|
|||||||
implemented in pure Python. Programmers can use it to easily add search
|
implemented in pure Python. Programmers can use it to easily add search
|
||||||
functionality to their applications and websites. Every part of how Whoosh
|
functionality to their applications and websites. Every part of how Whoosh
|
||||||
works can be extended or replaced to meet your needs exactly.
|
works can be extended or replaced to meet your needs exactly.
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{mod_name}-%{version}
|
%setup -q -n %{mod_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
%py3_build
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
sphinx-build docs/source docs/html
|
sphinx-build docs/source docs/html
|
||||||
@ -71,47 +50,26 @@ rm -f docs/html/.buildinfo
|
|||||||
rm -rf docs/html/.doctrees
|
rm -rf docs/html/.doctrees
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_build
|
|
||||||
rm -f docs/html/.buildinfo
|
|
||||||
rm -rf docs/html/.doctrees
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python2} setup.py test
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%{__python3} setup.py test
|
%{__python3} setup.py test
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n python2-whoosh
|
|
||||||
%license LICENSE.txt
|
|
||||||
%doc README.txt
|
|
||||||
%if %{with docs}
|
|
||||||
%doc docs/html/
|
|
||||||
%endif
|
|
||||||
%{python2_sitelib}/*.egg-info/
|
|
||||||
%{python2_sitelib}/whoosh
|
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%files -n python%{python3_pkgversion}-whoosh
|
%files -n python%{python3_pkgversion}-whoosh
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.txt
|
%doc README.txt
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
%doc docs/html/
|
%doc docs/html/
|
||||||
%endif
|
%endif
|
||||||
%{python3_sitelib}/whoosh
|
%{python3_sitelib}/whoosh/
|
||||||
%{python3_sitelib}/*.egg-info/
|
%{python3_sitelib}/*.egg-info/
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 20 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.4-14
|
||||||
|
- Subpackage python2-whoosh has been removed
|
||||||
|
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||||
|
|
||||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.4-13
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.4-13
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user