]> git.pld-linux.org Git - packages/python3-mechanize.git/blobdiff - python-mechanize.spec
- release 3 (by relup.sh)
[packages/python3-mechanize.git] / python-mechanize.spec
index 3a0d86edeefcafa6b1211b61f14c2e3dbf0bb617..ff8527c3d5d45a06a62bb7f06f8c15b5e51fc4ab 100644 (file)
@@ -1,23 +1,22 @@
 %define                module  mechanize
 %define                extraver %{nil}
-%define                rel             2
 Summary:       Library for automating interaction with web pages
 Summary(pl.UTF-8):     Biblioteka do automatycznej interakcji ze stronami WWW
 Name:          python-%{module}
-Version:       0.2.4
-Release:       1
+Version:       0.2.5
+Release:       3
 License:       BSD, ZPL 2.1
 Group:         Development/Languages/Python
 Source0:       http://wwwsearch.sourceforge.net/mechanize/src/%{module}-%{version}%{extraver}.tar.gz
-# Source0-md5: 0c1c3cec1c6d7b5d87662a069f04eb8d
+# Source0-md5: 32657f139fc2fb75bcf193b63b8c60b2
 URL:           http://wwwsearch.sourceforge.net/
-%pyrequires_eq  python-modules
 BuildRequires: python >= 1:2.3
 BuildRequires: python-devel >= 1:2.3
 BuildRequires: python-modules
 BuildRequires: python-setuptools
 BuildRequires: rpm-pythonprov
 Requires:      python-ClientForm >= 0.2.6
+Requires:      python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,13 +29,11 @@ Biblioteka do automatycznej interakcji ze stronami WWW.
 %setup -q -n %{module}-%{version}%{extraver}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-    --root=$RPM_BUILD_ROOT \
-    --optimize=2
+%py_install
 
 %py_postclean %{_datadir}/%{name}
 
This page took 0.06697 seconds and 4 git commands to generate.