rebuilt with py3* packages [release 0.4.5-2mamba;Sat Apr 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 11:27:11 +01:00
parent 882436fe5a
commit e4bcbaef8e

View File

@ -1,6 +1,6 @@
Name: python-mechanize
Version: 0.4.5
Release: 1mamba
Release: 2mamba
Summary: Stateful programmatic web browsing in Python
Group: System/Libraries
Vendor: openmamba
@ -8,7 +8,6 @@ Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://wwwsearch.sourceforge.net/mechanize/
Source: https://pypi.debian.net/mechanize/mechanize-%{version}.tar.gz
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
@ -21,6 +20,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Stateful programmatic web browsing in Python, after Andy Lesters Perl module WWW::Mechanize.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n mechanize-%{version}
#%patch0 -p1
@ -35,19 +38,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--single-version-externally-managed
--single-version-externally-managed \
--record=%{name}.filelist
%files
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%{python_sitearch}/mechanize-%{version}-py%{python_version}.egg-info/PKG-INFO
%{python_sitearch}/mechanize-%{version}-py%{python_version}.egg-info/*.txt
%{python_sitearch}/mechanize-%{version}-py%{python_version}.egg-info/zip-safe
%dir %{python_sitearch}/mechanize
%{python_sitearch}/mechanize/*.py
%{python_sitearch}/mechanize/*.pyc
%{python_sitearch}/mechanize/*.pyo
%changelog
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.5-2mamba
- rebuilt with py3* packages
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
- automatic version update by autodist