From e9759f5c839f879d5617b16aa187b09cd1c13c39 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:37:50 +0100 Subject: [PATCH] rebuilt with distdeps [release 7.43.0.6-2mamba;Sat Apr 10 2021] --- pycurl.spec | 47 +++++++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/pycurl.spec b/pycurl.spec index 0f2ddf8..c7ec76e 100644 --- a/pycurl.spec +++ b/pycurl.spec @@ -1,6 +1,6 @@ Name: pycurl -Version: 7.43.0.3 -Release: 3mamba +Version: 7.43.0.6 +Release: 2mamba Summary: A Python interface to libcurl Group: Development/Libraries/Python Vendor: openmamba @@ -9,13 +9,11 @@ Packager: Silvan Calarco URL: https://pycurl.sourceforge.net/ Source: http://pypi.debian.net/pycurl/pycurl-%{version}.tar.gz License: LGPL, MIT -Requires: python >= %{pyver} -Requires: libcurl >= 7.15.3 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcurl-devel BuildRequires: libopenssl-devel -BuildRequires: libpython36-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END %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. 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 Group: Documentation 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. This is the documentation package. -%if "%{?with_pyver}" -%pyver_package -%endif - %prep %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 -rm -fr %{buildroot}%{_defaultdocdir}/%{name} -mv doc html +sed -i "\,doc/pycurl,d" %{name}.filelist + +#rm -fr %{buildroot}%{_defaultdocdir}/%{name} +#mv doc html %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%if "%?with_pyver" -%files py%{pyver} +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{python_sitearch}/pycurl.*.so -%else -%files -%defattr(-,root,root) -%{python_sitearch}/pycurl.so -%endif -%{python_sitearch}/curl -%{python_sitearch}/pycurl-*-py*.egg-info +%dir %{python_sitearch}/pycurl-%{version}-py*.egg-info +%{python_sitearch}/pycurl-%{version}-py*.egg-info/* %doc COPYING-LGPL COPYING-MIT %files doc %defattr(-,root,root) -%doc ChangeLog examples html +%dir %{_docdir}/pycurl +%{_docdir}/pycurl/* +%doc ChangeLog examples %changelog -* Mon Apr 05 2021 Silvan Calarco 7.43.0.3-3mamba -- pycurl-doc: remove requirement for pycurl - -* Sat Apr 03 2021 Silvan Calarco 7.43.0.3-2mamba +* Sat Apr 10 2021 Silvan Calarco 7.43.0.6-2mamba - rebuilt with distdeps +* Wed Sep 09 2020 Automatic Build System 7.43.0.6-1mamba +- automatic update by autodist + * Thu Aug 08 2019 Silvan Calarco 7.43.0.3-1mamba - update to 7.43.0.3