summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-09-22 08:22:50 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-09-23 07:32:32 -0700
commit85f7a86730db229ce264f43d224465a76202d270 (patch)
tree4fd2623ba7666f735ce4aecd24a50e44e4379acd
parent3bfdcdcdfa04a12483a490fb6f766fd6689663a9 (diff)
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>
-rw-r--r--glusterfs.spec.in16
1 files changed, 14 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 10dd67eabd7..a5b94686b86 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -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)