15
0
forked from pool/python-crcmod

- Switch to autosetup and pyproject macros.

- Add patch use-setuptools.patch:
  * Switch to setuptools to build, rather than distutils.
- Stop using greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crcmod?expand=0&rev=10
This commit is contained in:
2024-01-18 08:04:00 +00:00
committed by Git OBS Bridge
parent ed0acb2f1c
commit 417c86ca4e
3 changed files with 32 additions and 7 deletions

11
use-setuptools.patch Normal file
View File

@@ -0,0 +1,11 @@
Index: crcmod-1.7/setup.py
===================================================================
--- crcmod-1.7.orig/setup.py
+++ crcmod-1.7/setup.py
@@ -1,5 +1,4 @@
-from distutils.core import setup
-from distutils.extension import Extension
+from setuptools import setup, Extension
import sys,os
if sys.version_info[0] == 2: