Accepting request 163862 from devel:languages:python3
- Added requires and buildrequires python3. It will not work properly without them on openSUSE < 12.3 - Cleanup some macros OBS-URL: https://build.opensuse.org/request/show/163862 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git?expand=0&rev=9
This commit is contained in:
parent
3fca5cc3a5
commit
6d0908f6ae
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 12 11:13:01 UTC 2013 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Added requires and buildrequires python3. It will not work
|
||||||
|
properly without them on openSUSE < 12.3
|
||||||
|
- Cleanup some macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 21 15:38:52 UTC 2013 - p.drouand@gmail.com
|
Mon Jan 21 15:38:52 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -18,14 +18,6 @@
|
|||||||
%define mod_name setuptools-git
|
%define mod_name setuptools-git
|
||||||
%define build_for_python3 0
|
%define build_for_python3 0
|
||||||
|
|
||||||
%if %{build_for_python3}
|
|
||||||
%define local_python python3
|
|
||||||
%define local_sitelib %{python3_sitelib}
|
|
||||||
%else
|
|
||||||
%define local_python python
|
|
||||||
%define local_sitelib %{python_sitelib}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python-setuptools-git
|
Name: python-setuptools-git
|
||||||
Version: 1.0b1
|
Version: 1.0b1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -35,19 +27,29 @@ Group: Development/Languages/Python
|
|||||||
Url: https://github.com/wichert/setuptools-git
|
Url: https://github.com/wichert/setuptools-git
|
||||||
Source: http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz
|
||||||
%if %{build_for_python3}
|
%if %{build_for_python3}
|
||||||
|
BuildRequires: python
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-distribute
|
BuildRequires: python3-distribute
|
||||||
|
Requires: python
|
||||||
|
BuildArch: noarch
|
||||||
%else
|
%else
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
%endif
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%if 0%{?suse_version} && 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()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%if %{build_for_python3}
|
||||||
|
%define local_python python3
|
||||||
|
%define local_sitelib %{python3_sitelib}
|
||||||
|
%else
|
||||||
|
%define local_python python
|
||||||
|
%define local_sitelib %{python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a plugin for setuptools that enables git integration. Once
|
This is a plugin for setuptools that enables git integration. Once
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 12 11:13:01 UTC 2013 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Added requires and buildrequires python3. It will not work
|
||||||
|
properly without them on openSUSE < 12.3
|
||||||
|
- Cleanup some macros
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 21 15:38:52 UTC 2013 - p.drouand@gmail.com
|
Mon Jan 21 15:38:52 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -18,14 +18,6 @@
|
|||||||
%define mod_name setuptools-git
|
%define mod_name setuptools-git
|
||||||
%define build_for_python3 1
|
%define build_for_python3 1
|
||||||
|
|
||||||
%if %{build_for_python3}
|
|
||||||
%define local_python python3
|
|
||||||
%define local_sitelib %{python3_sitelib}
|
|
||||||
%else
|
|
||||||
%define local_python python
|
|
||||||
%define local_sitelib %{python_sitelib}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Name: python3-setuptools-git
|
Name: python3-setuptools-git
|
||||||
Version: 1.0b1
|
Version: 1.0b1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -35,19 +27,29 @@ Group: Development/Languages/Python
|
|||||||
Url: https://github.com/wichert/setuptools-git
|
Url: https://github.com/wichert/setuptools-git
|
||||||
Source: http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-%{version}.tar.gz
|
||||||
%if %{build_for_python3}
|
%if %{build_for_python3}
|
||||||
|
BuildRequires: python3
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-distribute
|
BuildRequires: python3-distribute
|
||||||
|
Requires: python3
|
||||||
|
BuildArch: noarch
|
||||||
%else
|
%else
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
%endif
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%if 0%{?suse_version} && 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()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%if %{build_for_python3}
|
||||||
|
%define local_python python3
|
||||||
|
%define local_sitelib %{python3_sitelib}
|
||||||
|
%else
|
||||||
|
%define local_python python
|
||||||
|
%define local_sitelib %{python_sitelib}
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a plugin for setuptools that enables git integration. Once
|
This is a plugin for setuptools that enables git integration. Once
|
||||||
|
Loading…
Reference in New Issue
Block a user