14
0
forked from pool/python-pyodbc

Accepting request 1063686 from home:Monex:various

Update to version 4.0.35: Fixes after declined request

I've tried to get rid of the rpmlint warnings but there are still some warnings appearing and I don't know how to solve them, maybe can you help?

OBS-URL: https://build.opensuse.org/request/show/1063686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=23
This commit is contained in:
2023-02-07 21:12:21 +00:00
committed by Git OBS Bridge
parent 2dd7fe4b0d
commit b39286326a
5 changed files with 45 additions and 7 deletions

View File

@@ -0,0 +1,17 @@
Index: pyodbc-4.0.35/setup.py
===================================================================
--- pyodbc-4.0.35.orig/setup.py
+++ pyodbc-4.0.35/setup.py
@@ -94,9 +94,9 @@ def main():
'ext_modules': [Extension('pyodbc', sorted(files), **settings)],
- 'data_files': [
- ('', ['src/pyodbc.pyi']) # places pyodbc.pyi alongside pyodbc.py in site-packages
- ],
+ 'packages': [''],
+ 'package_dir': {'': 'src'},
+ 'package_data': {'': ['pyodbc.pyi']}, # places pyodbc.pyi alongside pyodbc.{platform}.{pyd|so} in site-packages
'license': 'MIT',