Skip to content

Commit

Permalink
Merge branch 'jb51483' into 'master'
Browse files Browse the repository at this point in the history
Add library provides in usual format

See merge request mer-core/python3!22
  • Loading branch information
Matti Kosola committed Oct 15, 2020
2 parents d45eeea + 9630764 commit 7ab63c2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rpm/python3-extra.spec
Expand Up @@ -62,13 +62,19 @@ Additional base modules for Python.
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{python_version_abitag}-%{platform_triplet}.so

%package -n python3-curses
Provides: python%{python_version}dist(curses) = %{version}
Provides: python3dist(curses) = %{version}
Requires: python3-base = %{version}
Summary: Python3 module for readline and ncurses

%description -n python3-curses
This package contains the readline and ncurses modules for Python.

%package -n python3-sqlite
Provides: python%{python_version}dist(sqlite) = %{version}
Provides: python3dist(sqlite) = %{version}
Provides: python%{python_version}dist(sqlite3) = %{version}
Provides: python3dist(sqlite3) = %{version}
Requires: python3-base = %{version}
Summary: Python3 module for sqlite

Expand Down Expand Up @@ -96,7 +102,7 @@ autoreconf -fi
# prevent make from trying to rebuild asdl stuff, which requires existing python installation
touch Parser/asdl* Python/Python-ast.c Include/Python-ast.h

# Disable all modules already compiled in python3-base
# Disable all modules already compiled in python3-base, or otherwise unwanted
touch Modules/Setup
cat <<EOF >> Modules/Setup
*disabled*
Expand Down Expand Up @@ -145,6 +151,7 @@ _testcapi
_testimportmultiple
_testinternalcapi
_testmultiphase
_uuid
_xxsubinterpreters
_xxtestfuzz
array
Expand Down

0 comments on commit 7ab63c2

Please sign in to comment.