rebuilt with distdeps and python 3.10 subpackage [release 0.4.8-2mamba;Thu May 05 2022]
This commit is contained in:
parent
31b29f2de5
commit
e1d99a005f
@ -1,19 +1,19 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-mechanize
|
Name: python-mechanize
|
||||||
Version: 0.4.8
|
Version: 0.4.8
|
||||||
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
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://wwwsearch.sourceforge.net/mechanize/
|
URL: https://github.com/python-mechanize/mechanize
|
||||||
Source: https://pypi.debian.net/mechanize/mechanize-%{version}.tar.gz
|
Source: https://pypi.debian.net/mechanize/mechanize-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(html5lib)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: python >= %python_version
|
|
||||||
Provides: mechanize
|
|
||||||
Obsoletes: mechanize
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Stateful programmatic web browsing in Python, after Andy Lester’s Perl module WWW::Mechanize.
|
Stateful programmatic web browsing in Python, after Andy Lester’s Perl module WWW::Mechanize.
|
||||||
@ -34,17 +34,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
%{__python} setup.py install \
|
%{__python} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{python_inc} \
|
||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--single-version-externally-managed \
|
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend}
|
||||||
|
#-f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 05 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.8-2mamba
|
||||||
|
- rebuilt with distdeps and python 3.10 subpackage
|
||||||
|
|
||||||
* Fri Apr 15 2022 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
|
* Fri Apr 15 2022 Automatic Build System <autodist@mambasoft.it> 0.4.8-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user