forked from pool/python-crcmod
- 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
12 lines
329 B
Diff
12 lines
329 B
Diff
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:
|