forked from pool/python-fasttext
stop building the binary-only subpackage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fasttext?expand=0&rev=14
This commit is contained in:
@@ -52,6 +52,7 @@ Requires: fasttext
|
||||
Requires: python-numpy
|
||||
Requires: python-pybind11 >= 2.2
|
||||
Requires: python-setuptools >= 0.7.0
|
||||
Provides: fasttext = %{version}
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
@@ -70,15 +71,6 @@ BuildRequires: %{python_module setuptools >= 0.7.0}
|
||||
fastText is a library for efficient learning of word
|
||||
representations and sentence classification.
|
||||
|
||||
%package -n fasttext
|
||||
Summary: Fast text representation and classification
|
||||
|
||||
%description -n fasttext
|
||||
fastText is a library for efficient learning of word
|
||||
representations and sentence classification.
|
||||
|
||||
This package provides the fasttext binary.
|
||||
|
||||
%package -n fasttext-devel
|
||||
Summary: Development files for fasttext
|
||||
Requires: libfasttext%{sover}
|
||||
@@ -138,14 +130,11 @@ export LDFLAGS=-L%{__builddir}
|
||||
%python_uninstall_alternative fasttext
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md docs/
|
||||
%license LICENSE
|
||||
%{python_sitearch}/fasttext
|
||||
%{python_sitearch}/fasttext-%{version}*-info
|
||||
%{python_sitearch}/fasttext_pybind.*.so
|
||||
|
||||
%files -n fasttext
|
||||
%doc README.md docs/
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/fasttext
|
||||
|
||||
%files -n fasttext-devel
|
||||
|
||||
Reference in New Issue
Block a user