]> 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 a56aaa75c2c42c19b552f85e6db2860b38d25186..ff8527c3d5d45a06a62bb7f06f8c15b5e51fc4ab 100644 (file)
@@ -1,21 +1,22 @@
 %define                module  mechanize
 %define                extraver %{nil}
-%define                rel             1
 Summary:       Library for automating interaction with web pages
 Summary(pl.UTF-8):     Biblioteka do automatycznej interakcji ze stronami WWW
 Name:          python-%{module}
-Version:       0.1.11
-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: c5e89a1886e44bd7a8598b0ba47287af
+# 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
@@ -28,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}
 
@@ -43,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc COPYING.txt README.html ChangeLog.txt
+%doc COPYING.txt
 %dir %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/%{module}/*.py[oc]
 %if "%{py_ver}" > "2.4"
This page took 0.115796 seconds and 4 git commands to generate.