15
0
forked from pool/python-cffi

Accepting request 578239 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/578239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cffi?expand=0&rev=44
This commit is contained in:
Tomáš Chvátal
2018-02-20 08:20:54 +00:00
committed by Git OBS Bridge
parent 60ed614164
commit b3cb3e6812
5 changed files with 34 additions and 56 deletions

View File

@@ -17,17 +17,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname cffi
Name: python-%{modname}
Version: 1.11.2
Name: python-cffi
Version: 1.11.4
Release: 0
Summary: Foreign Function Interface for Python calling C code
License: MIT
Group: Development/Languages/Python
Url: http://%{modname}.readthedocs.org
Source0: https://files.pythonhosted.org/packages/source/c/cffi/%{modname}-%{version}.tar.gz
Url: http://cffi.readthedocs.org
Source0: https://files.pythonhosted.org/packages/source/c/cffi/cffi-%{version}.tar.gz
Source1: python-cffi-rpmlintrc
Patch0: cffi-loader.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pycparser}
BuildRequires: %{python_module pytest}
@@ -44,8 +42,7 @@ Foreign Function Interface for Python calling C code. The aim of this project
is to provide a convenient and reliable way of calling C code from Python.
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
%setup -q -n cffi-%{version}
%build
export CFLAGS="%{optflags}"