1
0

Accepting request 142399 from devel:languages:python3

Remove openSUSE 11.4 spec file workarounds (forwarded request 142398 from TheBlackCat)

OBS-URL: https://build.opensuse.org/request/show/142399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PasteDeploy?expand=0&rev=9
This commit is contained in:
Todd R 2012-11-22 13:04:47 +00:00 committed by Git OBS Bridge
parent e6dc5b1ea7
commit 24ba0135bb
2 changed files with 5 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 22 09:39:27 UTC 2012 - toddrme2178@gmail.com
- Remove openSUSE 11.4 spec file workarounds
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 6 09:28:27 UTC 2012 - toddrme2178@gmail.com Thu Sep 6 09:28:27 UTC 2012 - toddrme2178@gmail.com

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: python3-PasteDeploy Name: python3-PasteDeploy
Version: 1.5.0 Version: 1.5.0
Release: 0 Release: 0
@ -34,12 +32,6 @@ BuildRequires: python3-distribute
Provides: python3-pastedeploy = %{version} Provides: python3-pastedeploy = %{version}
Obsoletes: python3-pastedeploy < %{version} Obsoletes: python3-pastedeploy < %{version}
%if 0%{?suse_version} <= 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
%else
BuildRequires: python3-base
%endif
Requires: python(abi) = %{py3_ver} Requires: python(abi) = %{py3_ver}
BuildArch: noarch BuildArch: noarch
@ -64,8 +56,5 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%{python3_sitelib}/paste/deploy/ %{python3_sitelib}/paste/deploy/
%{python3_sitelib}/PasteDeploy-%{version}-py%{py3_ver}.egg-info %{python3_sitelib}/PasteDeploy-%{version}-py%{py3_ver}.egg-info
%{python3_sitelib}/PasteDeploy-%{version}-py%{py3_ver}-nspkg.pth %{python3_sitelib}/PasteDeploy-%{version}-py%{py3_ver}-nspkg.pth
%if 0%{?suse_version} <= 1140
%dir %{_prefix}/lib/python%{py3_ver}
%endif
%changelog %changelog