From 6b1f7ee7aeb66c6e8e16b1a9f646fd2af24164db Mon Sep 17 00:00:00 2001 From: Antoine Martin <totaam@xpra.org> Date: Thu, 24 Nov 2016 07:12:48 +0000 Subject: [PATCH] #1258: Fedora changed the package name for Fedora 25.. so we have to change ours too to prevent conflicts git-svn-id: https://xpra.org/svn/Xpra/trunk@14483 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- rpmbuild/Cython.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rpmbuild/Cython.spec b/rpmbuild/Cython.spec index a3409a47d1..71552f082e 100644 --- a/rpmbuild/Cython.spec +++ b/rpmbuild/Cython.spec @@ -7,7 +7,7 @@ %if 0%{?suse_version} Name: python-Cython %else -Name: Cython +Name: python2-Cython %endif Version: 0.25.1 @@ -20,6 +20,13 @@ URL: http://www.cython.org Source: http://www.cython.org/Cython-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: python +%if 0%{?suse_version} +#no conflicts? +%else +Conflicts: Cython +Obsoletes: Cython < %{version}-%{release} +Provides: Cython = %{version}-%{release} +%endif BuildRequires: python-devel python-setuptools %if %{with_python3}