forked from pool/python-PasteDeploy
- Add rm_nspace_pkgs.patch to poorly used namespace_packages
(gh#Pylons/pastedeploy#27) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=31
This commit is contained in:
parent
00982259e4
commit
c61249c970
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 23 16:24:08 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add rm_nspace_pkgs.patch to poorly used namespace_packages
|
||||
(gh#Pylons/pastedeploy#27)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 14 15:42:42 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
|
@ -26,6 +26,9 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Pylons/pastedeploy
|
||||
Source: https://github.com/Pylons/pastedeploy/archive/%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM rm_nspace_pkgs.patch gh#Pylons/pastedeploy#27 mcepl@suse.com
|
||||
# Package uses namespace_packages, when it shouldn't.
|
||||
Patch0: rm_nspace_pkgs.patch
|
||||
BuildRequires: %{python_module Paste}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -49,6 +52,7 @@ provides commands to serve applications based on this configuration file.
|
||||
|
||||
%prep
|
||||
%setup -q -n pastedeploy-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
10
rm_nspace_pkgs.patch
Normal file
10
rm_nspace_pkgs.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -48,7 +48,6 @@ setup(
|
||||
"Issue Tracker": "https://github.com/Pylons/pastedeploy/issues",
|
||||
},
|
||||
license="MIT",
|
||||
- namespace_packages=["paste"],
|
||||
packages=find_packages(exclude=["tests"]),
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
Loading…
Reference in New Issue
Block a user