build: python-ctypes no longer exists in Fedora Rawhide

Python packaging in Rawhide has a Virtual Provides of python-ctypes
but that will be removed soon

Change-Id: I353f7fcbff35dfbfb1a726c7608eef721976453d
BUG: 1378436
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/15546
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2016-09-22 08:22:50 -04:00 committed by Kaleb KEITHLEY
parent 3bfdcdcdfa
commit 85f7a86730

View File

@ -200,7 +200,9 @@ BuildRequires: ncurses-devel readline-devel
BuildRequires: libxml2-devel openssl-devel
BuildRequires: libaio-devel libacl-devel
BuildRequires: python-devel
%if ( 0%{?fedora} && 0%{?fedora} < 26 ) || ( 0%{?rhel} )
BuildRequires: python-ctypes
%endif
BuildRequires: userspace-rcu-devel >= 0.7
%if ( 0%{?rhel} && 0%{?rhel} <= 6 )
BuildRequires: automake
@ -322,7 +324,10 @@ Group: Applications/File
# We need python-gluster rpm for gluster module's __init__.py in Python
# site-packages area
Requires: python-gluster = %{version}-%{release}
Requires: python python-ctypes
Requires: python
%if ( 0%{?fedora} && 0%{?fedora} < 26 ) || ( 0%{?rhel} )
BuildRequires: python-ctypes
%endif
%description extra-xlators
GlusterFS is a distributed file-system capable of scaling to several
@ -391,7 +396,11 @@ Summary: GlusterFS Geo-replication
Group: Applications/File
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: python python-ctypes python-prettytable
Requires: python
Requires: python-prettytable
%if ( 0%{?fedora} && 0%{?fedora} < 26 ) || ( 0%{?rhel} )
BuildRequires: python-ctypes
%endif
Requires: python-gluster = %{version}-%{release}
Requires: rsync
@ -1254,6 +1263,9 @@ exit 0
%endif
%changelog
* Thu Sep 22 2016 Kaleb S. KEITHLEY <kkeithle@redhat.com>
- python-ctypes no long exists, now in python stdlib (#1378436)
* Wed Sep 14 2016 Aravinda VK <avishwan@redhat.com>
- Changed attribute of eventsconfig.json file as same as other configs (#1375532)