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 Name: python-mechanize
Version: 0.4.5 Version: 0.4.5
Release: 1mamba Release: 2mamba
Summary: Stateful programmatic web browsing in Python Summary: Stateful programmatic web browsing in Python
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -8,7 +8,6 @@ Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://wwwsearch.sourceforge.net/mechanize/ URL: http://wwwsearch.sourceforge.net/mechanize/
Source: https://pypi.debian.net/mechanize/mechanize-%{version}.tar.gz Source: https://pypi.debian.net/mechanize/mechanize-%{version}.tar.gz
#Patch0: %{name}-<pck-version>-<patch-description>.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython-devel
@ -21,6 +20,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Stateful programmatic web browsing in Python, after Andy Lesters Perl module WWW::Mechanize. Stateful programmatic web browsing in Python, after Andy Lesters Perl module WWW::Mechanize.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep %prep
%setup -q -n mechanize-%{version} %setup -q -n mechanize-%{version}
#%patch0 -p1 #%patch0 -p1
@ -35,19 +38,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \ --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) %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 %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 * Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
- automatic version update by autodist - automatic version update by autodist