From 1dbb967f35c4c434567243d1450c3ffe86f26008b717f1f0883741fb44975778 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 11 Jun 2012 07:44:47 +0000 Subject: [PATCH] Accepting request 124312 from home:openttdcoop build for CentOS OBS-URL: https://build.opensuse.org/request/show/124312 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ply?expand=0&rev=15 --- python-ply.spec | 3 ++- python3-ply.spec | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/python-ply.spec b/python-ply.spec index 4fd55fb..f327fb3 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define modname ply Name: python-%{modname} Version: 3.4 @@ -27,7 +28,7 @@ Source: http://www.dabeaz.com/%{modname}/%{modname}-%{version}.tar.gz Patch0: python-ply-shebangs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -%if 0%{?suse_version} <= 1110 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %py_requires %endif %if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion} diff --git a/python3-ply.spec b/python3-ply.spec index 9ea5016..7cd4df0 100644 --- a/python3-ply.spec +++ b/python3-ply.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define modname ply Name: python3-%{modname} Version: 3.4