Revert "use the tarball provided by github"
The problem now appears to be fixed upstream.
This reverts commit 683be942e9.
This commit is contained in:
parent
ca30d1c4ae
commit
0f3ba1126d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
/pycurl-7.*.*.tar.gz
|
/pycurl-7.*.*.tar.gz
|
||||||
/REL_7_19_5.tar.gz
|
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
%{!?py3dir: %global py3dir %{_builddir}/python3-%{name}-%{version}-%{release}}
|
%{!?py3dir: %global py3dir %{_builddir}/python3-%{name}-%{version}-%{release}}
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%global pycurl_rel REL_7_19_5
|
|
||||||
|
|
||||||
Name: python-pycurl
|
Name: python-pycurl
|
||||||
Version: 7.19.5
|
Version: 7.19.5
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
@ -11,7 +9,7 @@ Summary: A Python interface to libcurl
|
|||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: LGPLv2+ or MIT
|
License: LGPLv2+ or MIT
|
||||||
URL: http://pycurl.sourceforge.net/
|
URL: http://pycurl.sourceforge.net/
|
||||||
Source0: https://github.com/pycurl/pycurl/archive/%{pycurl_rel}.tar.gz
|
Source0: http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
|
||||||
|
|
||||||
Requires: keyutils-libs
|
Requires: keyutils-libs
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@ -54,7 +52,7 @@ urllib Python module. PycURL is mature, very fast, and supports a lot
|
|||||||
of features.
|
of features.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup0 -q -n pycurl-%{pycurl_rel}
|
%setup0 -q -n pycurl-%{version}
|
||||||
|
|
||||||
# temporarily exclude failing test-cases
|
# temporarily exclude failing test-cases
|
||||||
rm -f tests/{post_test,reset_test}.py
|
rm -f tests/{post_test,reset_test}.py
|
||||||
@ -65,10 +63,8 @@ cp -a . %{py3dir}
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
%{__python} setup.py docstrings
|
|
||||||
%{__python} setup.py build --with-nss
|
%{__python} setup.py build --with-nss
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py docstrings
|
|
||||||
%{__python3} setup.py build --with-nss
|
%{__python3} setup.py build --with-nss
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user