15
0

- 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:
2020-06-23 16:26:04 +00:00
committed by Git OBS Bridge
parent 00982259e4
commit c61249c970
3 changed files with 20 additions and 0 deletions

View File

@@ -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