14
0
Sascha Peilicke
2012-02-01 13:24:25 +00:00
committed by Git OBS Bridge
parent e718895eb9
commit 0a5f8e5d8a
2 changed files with 8 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 1 13:24:11 UTC 2012 - saschpe@suse.de
- Simplified macro usage
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 24 21:37:26 UTC 2012 - jfunk@funktronics.ca Tue Jan 24 21:37:26 UTC 2012 - jfunk@funktronics.ca

View File

@@ -15,8 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: python-versiontools Name: python-versiontools
Version: 1.8.3 Version: 1.8.3
Release: 0 Release: 0
@@ -29,13 +27,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-distribute
Requires: python-distribute Requires: python-distribute
%if 0%{?suse_version} %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%py_requires %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%if 0%{?suse_version} > 1110 %else
BuildArch: noarch BuildArch: noarch
%endif %endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description %description
Smart replacement for plain tuple used in __version__. Smart replacement for plain tuple used in __version__.