Accepting request 142776 from devel:languages:python
Removed openSUSE 11.4 spec file workarounds (forwarded request 142748 from TheBlackCat) (forwarded request 142767 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/142776 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ply?expand=0&rev=16
This commit is contained in:
commit
8f750bdc81
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define modname ply
|
%define modname ply
|
||||||
Name: python-%{modname}
|
Name: python-%{modname}
|
||||||
Version: 3.4
|
Version: 3.4
|
||||||
@ -27,7 +28,7 @@ Source: http://www.dabeaz.com/%{modname}/%{modname}-%{version}.tar.gz
|
|||||||
Patch0: python-ply-shebangs.patch
|
Patch0: python-ply-shebangs.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
%if 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%py_requires
|
%py_requires
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion}
|
%if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion}
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 22 13:47:34 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Removed openSUSE 11.4 spec file workarounds
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 25 10:04:47 UTC 2012 - toddrme2178@gmail.com
|
Fri May 25 10:04:47 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define modname ply
|
%define modname ply
|
||||||
Name: python3-%{modname}
|
Name: python3-%{modname}
|
||||||
Version: 3.4
|
Version: 3.4
|
||||||
@ -28,12 +29,6 @@ Patch0: python-ply-shebangs.patch
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python3-2to3
|
BuildRequires: python3-2to3
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%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
|
||||||
|
|
||||||
@ -85,10 +80,6 @@ rm -rf %{buildroot}
|
|||||||
%doc ANNOUNCE CHANGES README TODO
|
%doc ANNOUNCE CHANGES README TODO
|
||||||
%{python3_sitelib}/%{modname}/
|
%{python3_sitelib}/%{modname}/
|
||||||
%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info
|
%{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info
|
||||||
%if 0%{?suse_version} <= 1140
|
|
||||||
%dir %{_prefix}/lib/python%{py3_ver}
|
|
||||||
%dir %{python3_sitelib}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user