diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec index e4f745c..c013edc 100644 --- a/python-urlgrabber.spec +++ b/python-urlgrabber.spec @@ -1,26 +1,30 @@ %define pkgname urlgrabber Name: python-urlgrabber -Version: 4.0.0 +Version: 4.1.0 Release: 1mamba Summary: A high-level cross-protocol url-grabber Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba Packager: Davide Madrisan -URL: http://linux.duke.edu/projects/urlgrabber/ -Source: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz +URL: https://urlgrabber.baseurl.org/ +Source: https://pypi.debian.net/urlgrabber/urlgrabber-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(pycurl) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(six) ## AUTOBUILDREQ-END -Requires: python >= %python_version -Requires: pycurl -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A high-level cross-protocol url-grabber. +%if "%{?with_pyver}" +%pyver_package +%endif + %prep %setup -q -n %{pkgname}-%{version} @@ -33,24 +37,24 @@ A high-level cross-protocol url-grabber. -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist -rm -fr %{buildroot}%{_docdir}/urlgrabber-%{version} +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{_bindir}/urlgrabber -%{_prefix}/libexec/urlgrabber-ext-down -%dir %{python_sitearch}/urlgrabber -%{python_sitearch}/urlgrabber/* -%{python_sitearch}/urlgrabber-*.egg-info +%dir %{python_sitearch}/urlgrabber-*.egg-info +%{python_sitearch}/urlgrabber-*.egg-info/* %doc LICENSE -#%doc ChangeLog README TODO %changelog +* Mon Apr 05 2021 Silvan Calarco 4.1.0-1mamba +- update to 4.1.0 + * Mon Jul 29 2019 Automatic Build System 4.0.0-1mamba - automatic update by autodist