forked from pool/python-versiontools
- Simplified macro usage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-versiontools?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
e718895eb9
commit
0a5f8e5d8a
@@ -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
|
||||||
|
|
||||||
|
@@ -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__.
|
||||||
|
Reference in New Issue
Block a user