rebuilt with distdeps [release 7.43.0.6-2mamba;Sat Apr 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 10:37:50 +01:00
parent f63e89325a
commit e9759f5c83

View File

@ -1,6 +1,6 @@
Name: pycurl Name: pycurl
Version: 7.43.0.3 Version: 7.43.0.6
Release: 3mamba Release: 2mamba
Summary: A Python interface to libcurl Summary: A Python interface to libcurl
Group: Development/Libraries/Python Group: Development/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -9,13 +9,11 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pycurl.sourceforge.net/ URL: https://pycurl.sourceforge.net/
Source: http://pypi.debian.net/pycurl/pycurl-%{version}.tar.gz Source: http://pypi.debian.net/pycurl/pycurl-%{version}.tar.gz
License: LGPL, MIT License: LGPL, MIT
Requires: python >= %{pyver}
Requires: libcurl >= 7.15.3
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libcurl-devel BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: libpython36-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%description %description
@ -27,6 +25,10 @@ This means it has a somewhat steep learning curve unless you are already familia
To sum up, PycURL is very fast (esp. for multiple concurrent operations) and very feature complete, but has a somewhat complex interface. To sum up, PycURL is very fast (esp. for multiple concurrent operations) and very feature complete, but has a somewhat complex interface.
If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber. If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.
%if "%{?with_pyver}"
%pyver_package
%endif
%package doc %package doc
Group: Documentation Group: Documentation
Summary: Documentation package for %{name} Summary: Documentation package for %{name}
@ -41,10 +43,6 @@ To sum up, PycURL is very fast (esp. for multiple concurrent operations) and ver
If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber. If you need something simpler or prefer a pure Python module you might want to check out urllib2 and urlgrabber.
This is the documentation package. This is the documentation package.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep %prep
%setup -q %setup -q
@ -62,36 +60,33 @@ CFLAGS="%{optflags} -DHAVE_CURL_OPENSSL" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
rm -fr %{buildroot}%{_defaultdocdir}/%{name} sed -i "\,doc/pycurl,d" %{name}.filelist
mv doc html
#rm -fr %{buildroot}%{_defaultdocdir}/%{name}
#mv doc html
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%if "%?with_pyver" %files %{?pyappend} -f %{name}.filelist
%files py%{pyver}
%defattr(-,root,root) %defattr(-,root,root)
%{python_sitearch}/pycurl.*.so %dir %{python_sitearch}/pycurl-%{version}-py*.egg-info
%else %{python_sitearch}/pycurl-%{version}-py*.egg-info/*
%files
%defattr(-,root,root)
%{python_sitearch}/pycurl.so
%endif
%{python_sitearch}/curl
%{python_sitearch}/pycurl-*-py*.egg-info
%doc COPYING-LGPL COPYING-MIT %doc COPYING-LGPL COPYING-MIT
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
%doc ChangeLog examples html %dir %{_docdir}/pycurl
%{_docdir}/pycurl/*
%doc ChangeLog examples
%changelog %changelog
* Mon Apr 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-3mamba * Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.6-2mamba
- pycurl-doc: remove requirement for pycurl
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-2mamba
- rebuilt with distdeps - rebuilt with distdeps
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 7.43.0.6-1mamba
- automatic update by autodist
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-1mamba * Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.43.0.3-1mamba
- update to 7.43.0.3 - update to 7.43.0.3