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:
11
use-setuptools.patch
Normal file
11
use-setuptools.patch
Normal 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:
|
||||
Reference in New Issue
Block a user