Accepting request 95312 from home:openttdcoop
also fedora and mandriva support noarch OBS-URL: https://build.opensuse.org/request/show/95312 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ply?expand=0&rev=9
This commit is contained in:
parent
7dcef5fd15
commit
adb8876048
@ -11,11 +11,12 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
%{!?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)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
@ -23,7 +24,7 @@
|
|||||||
|
|
||||||
Name: python-%{mod_name}
|
Name: python-%{mod_name}
|
||||||
Version: 3.4
|
Version: 3.4
|
||||||
Release: 0
|
Release: 1
|
||||||
Url: http://www.dabeaz.com/ply/
|
Url: http://www.dabeaz.com/ply/
|
||||||
Summary: Python Lex & Yacc
|
Summary: Python Lex & Yacc
|
||||||
License: BSD3c
|
License: BSD3c
|
||||||
@ -34,9 +35,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%py_requires
|
%py_requires
|
||||||
%if 0%{?suse_version} > 1110
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion}
|
||||||
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
Loading…
x
Reference in New Issue
Block a user