Skip to content

Commit

Permalink
update pkg/fedora/pyglossary.spec: replace usage of distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Oct 19, 2023
1 parent 807a7f5 commit b19533b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fedora/pyglossary.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global __python /usr/bin/python3
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "import sys; from distutils.sysconfig import get_python_lib; sys.stdout.write(get_python_lib())")}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c 'import sys, sysconfig; sys.stdout.write(sysconfig.get_paths()["purelib"])')}

Name: pyglossary
Version: master
Expand Down

0 comments on commit b19533b

Please sign in to comment.