forked from pool/python-py-radix
fix patch syntax for 15.6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-py-radix?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
34e00b7ccf
commit
84d10b5357
@@ -26,7 +26,7 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/mjschultz/py-radix
|
URL: https://github.com/mjschultz/py-radix
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/py-radix/py-radix-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/py-radix/py-radix-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM - Change incompatible pointer type from RadixNodeObject to PyObject
|
# PATCH-FIX-UPSTREAM - Change incompatible pointer type from RadixNodeObject to PyObject
|
||||||
Patch: https://github.com/mjschultz/py-radix/pull/58.patch
|
Patch0: https://github.com/mjschultz/py-radix/pull/58.patch
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -45,7 +45,7 @@ This package includes the C-extension.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n py-radix-%{version}
|
%setup -q -n py-radix-%{version}
|
||||||
%patch -P0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
|
Reference in New Issue
Block a user