summaryrefslogtreecommitdiff
path: root/python3-antlr4.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python3-antlr4.spec')
-rw-r--r--python3-antlr4.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/python3-antlr4.spec b/python3-antlr4.spec
index a927964..00984f4 100644
--- a/python3-antlr4.spec
+++ b/python3-antlr4.spec
@@ -11,6 +11,7 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
+BuildRequires: python3-pip
%description
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator
@@ -42,18 +43,18 @@ Documentation and examples for the ANTLR 4 Python 3 runtime.
%build
pushd runtime/Python3
-%py3_build
+%{__python3} -m pip wheel --no-build-isolation --no-deps .
popd
%install
pushd runtime/Python3
-%py3_install
+%{__python3} -m pip install --no-build-isolation --no-deps --root %{buildroot} .
popd
%files -n python3-antlr4
%license LICENSE.txt
%{python3_sitelib}/antlr4/
-%{python3_sitelib}/antlr4_python3_runtime-%{version}*.egg-info/
+%{python3_sitelib}/antlr4_python3_runtime-%{version}*.dist-info/
%{_bindir}/pygrun
%files help