Include .../gluster/__init__.py in Fedora builds (not EL-6+ only)

Resolves: 1045123
This commit is contained in:
Niels de Vos 2013-12-19 19:50:36 +01:00
parent 8c76f93f79
commit a1e5e997b2

View File

@ -50,7 +50,7 @@ Summary: Cluster File System
%if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs
Version: 3.4.2
Release: 0.1%{?prereltag:.%{prereltag}}%{?dist}
Release: 0.1%{?prereltag:.%{prereltag}}.1%{?dist}
Vendor: Fedora Project
%else
Name: @PACKAGE_NAME@
@ -675,7 +675,7 @@ fi
%exclude %{_libdir}/*.so
%{_libdir}/libgfapi.*
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mount/api*
%if ( 0%{?rhel} && 0%{?rhel} > 5 )
%if ! ( 0%{?rhel} && 0%{?rhel} <= 5 )
%{python_sitelib}/gluster/__init__.p*
%endif
@ -762,6 +762,10 @@ if [ $1 -ge 1 ]; then
fi
%changelog
* Thu Dec 19 2013 Niels de Vos <ndevos@redhat.com> - 3.4.2-0.1qa4.1
- Include the .../site-packages/gluster/__init__.py file by default,
skip EL-5 and earlier (#1045123)
* Tue Dec 17 2013 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 3.4.2-0.1qa4
- GlusterFS 3.4.2 QA4 , glusterfs-3.4.2-0.1qa4