14
0

Accepting request 109047 from devel:languages:python

- Simplified macro usage

OBS-URL: https://build.opensuse.org/request/show/109047
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mechanize?expand=0&rev=11
This commit is contained in:
Stephan Kulow
2012-03-13 08:38:42 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 12 21:51:45 UTC 2012 - saschpe@gmx.de
- Simplified macro usage
-------------------------------------------------------------------
Wed Sep 21 07:15:00 UTC 2011 - saschpe@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mechanize
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
Name: python-mechanize
Version: 0.2.5
Release: 0
@@ -30,13 +29,11 @@ BuildRequires: python-devel
BuildRequires: python-distribute
Requires: python-beautifulsoup
Requires: python-clientform
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
Stateful programmatic web browsing, after Andy Lester's Perl module