- updated logrotate patch
- removed obsolete link,ac patches
+++ /dev/null
---- ceph-0.94.1/configure.ac.orig 2015-04-10 21:09:16.000000000 +0200
-+++ ceph-0.94.1/configure.ac 2015-04-23 17:09:49.415097906 +0200
-@@ -967,7 +967,7 @@
- ])
-
- AC_MSG_CHECKING([for sched.h])
--+AC_LANG_PUSH([C++])
-+AC_LANG_PUSH([C++])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #define _GNU_SOURCE
- #include <sched.h>
-@@ -984,7 +984,7 @@
- ], [
- AC_MSG_RESULT([no])
- ])
--+AC_LANG_POP([C++])
-+AC_LANG_POP([C++])
-
-
- #
+++ /dev/null
---- ceph-0.92/src/libradosstriper/Makefile.am.orig 2015-02-02 22:32:32.000000000 +0100
-+++ ceph-0.92/src/libradosstriper/Makefile.am 2015-02-07 18:25:15.007810402 +0100
-@@ -6,7 +6,7 @@
- # We need this to avoid basename conflicts with the libradosstriper build tests in test/Makefile.am
- libradosstriper_la_CXXFLAGS = ${AM_CXXFLAGS}
-
--LIBRADOSSTRIPER_DEPS = $(LIBRADOS_DEPS)
-+LIBRADOSSTRIPER_DEPS = $(top_builddir)/src/librados.la $(LIBRADOS_DEPS)
- libradosstriper_la_LIBADD = $(LIBRADOSSTRIPER_DEPS)
- libradosstriper_la_LDFLAGS = ${AM_LDFLAGS} -version-info 1:0:0
- if LINUX
---- ceph-0.84/src/logrotate.conf.orig 2014-08-22 19:12:40.945575009 +0200
-+++ ceph-0.84/src/logrotate.conf 2014-08-22 19:14:59.222235873 +0200
+--- ceph-0.94.6/src/logrotate.conf.orig 2016-04-12 20:38:42.246628426 +0200
++++ ceph-0.94.6/src/logrotate.conf 2016-04-12 20:44:06.806614808 +0200
@@ -4,25 +4,7 @@
compress
sharedscripts
postrotate
@@ -4,25 +4,7 @@
compress
sharedscripts
postrotate
-- if which invoke-rc.d > /dev/null 2>&1 && [ -x `which invoke-rc.d` ]; then
-- invoke-rc.d ceph reload >/dev/null
-- elif which service > /dev/null 2>&1 && [ -x `which service` ]; then
+- if which service > /dev/null 2>&1 && [ -x `which service` ]; then
- service ceph reload >/dev/null
- service ceph reload >/dev/null
+- elif which invoke-rc.d > /dev/null 2>&1 && [ -x `which invoke-rc.d` ]; then
+- invoke-rc.d ceph reload >/dev/null
- fi
- # Possibly reload twice, but depending on ceph.conf the reload above may be a no-op
- if which initctl > /dev/null 2>&1 && [ -x `which initctl` ]; then
- fi
- # Possibly reload twice, but depending on ceph.conf the reload above may be a no-op
- if which initctl > /dev/null 2>&1 && [ -x `which initctl` ]; then
# (upstream scripts seem overcomplicated and hardly useful)
# - run as non-root user
#
# (upstream scripts seem overcomplicated and hardly useful)
# - run as non-root user
#
# Conditional build:
%bcond_without java # Java binding
%bcond_with accelio # Accelio transport support
# Conditional build:
%bcond_without java # Java binding
%bcond_with accelio # Accelio transport support
Summary: User space components of the Ceph file system
Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph
Name: ceph
Summary: User space components of the Ceph file system
Summary(pl.UTF-8): Działające w przestrzeni użytkownika elementy systemu plików Ceph
Name: ceph
-Version: 0.94.3
-Release: 3
+Version: 0.94.6
+Release: 1
License: LGPL v2.1 (libraries), GPL v2 (some programs)
Group: Base
License: LGPL v2.1 (libraries), GPL v2 (some programs)
Group: Base
-Source0: http://ceph.com/download/%{name}-%{version}.tar.bz2
-# Source0-md5: ccbaba6cad56cf71719661a0cdcc6ad6
+Source0: http://download.ceph.com/tarballs/%{name}-%{version}.tar.gz
+# Source0-md5: 566cdeae80ee639dcb265ac284a59b48
Source1: ceph.sysconfig
# based on files from https://github.com/ceph/ceph/tree/master/systemd
Source10: cephctl
Source1: ceph.sysconfig
# based on files from https://github.com/ceph/ceph/tree/master/systemd
Source10: cephctl
Source15: ceph.tmpfiles
Patch0: %{name}-init-fix.patch
Patch1: %{name}.logrotate.patch
Source15: ceph.tmpfiles
Patch0: %{name}-init-fix.patch
Patch1: %{name}.logrotate.patch
-Patch2: %{name}-link.patch
-Patch3: %{name}-ac.patch
URL: http://ceph.com/
%{?with_accelio:BuildRequires: accelio-devel}
BuildRequires: autoconf >= 2.59
URL: http://ceph.com/
%{?with_accelio:BuildRequires: accelio-devel}
BuildRequires: autoconf >= 2.59
%setup -q
%patch0 -p1
%patch1 -p1
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%{__autoconf}
%{__autoheader}
%{__automake}
%{__autoconf}
%{__autoheader}
%{__automake}
+# required by xfs headers (for off64_t)
+CPPFLAGS="%{rpmcppflags} -D_LARGEFILE64_SOURCE"
# ac_cv_prog_uudecode_base64=no is a hack to compile Test.class instead of
# using included one which fails with Sun/Oracle JDK 1.6
%configure \
# ac_cv_prog_uudecode_base64=no is a hack to compile Test.class instead of
# using included one which fails with Sun/Oracle JDK 1.6
%configure \
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libcephfs.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcephfs.so.1
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libcephfs.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libcephfs.so.1
+%attr(755,root,root) %{_libdir}/libos_tp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libos_tp.so.1
+%attr(755,root,root) %{_libdir}/libosd_tp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libosd_tp.so.1
%attr(755,root,root) %{_libdir}/librados.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/librados.so.2
%attr(755,root,root) %{_libdir}/librados.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/librados.so.2
+%attr(755,root,root) %{_libdir}/librados_tp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/librados_tp.so.2
%attr(755,root,root) %{_libdir}/libradosstriper.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libradosstriper.so.1
%attr(755,root,root) %{_libdir}/librbd.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/librbd.so.1
%attr(755,root,root) %{_libdir}/libradosstriper.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libradosstriper.so.1
%attr(755,root,root) %{_libdir}/librbd.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/librbd.so.1
+%attr(755,root,root) %{_libdir}/librbd_tp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/librbd_tp.so.1
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libcephfs.so
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libcephfs.so
+%attr(755,root,root) %{_libdir}/libos_tp.so
+%attr(755,root,root) %{_libdir}/libosd_tp.so
%attr(755,root,root) %{_libdir}/librados.so
%attr(755,root,root) %{_libdir}/librados.so
+%attr(755,root,root) %{_libdir}/librados_tp.so
%attr(755,root,root) %{_libdir}/libradosstriper.so
%attr(755,root,root) %{_libdir}/librbd.so
%attr(755,root,root) %{_libdir}/libradosstriper.so
%attr(755,root,root) %{_libdir}/librbd.so
+%attr(755,root,root) %{_libdir}/librbd_tp.so
+%{_libdir}/libos_tp.la
+%{_libdir}/libosd_tp.la
+%{_libdir}/librados_tp.la
%{_libdir}/libradosstriper.la
%{_libdir}/librbd.la
%{_libdir}/libradosstriper.la
%{_libdir}/librbd.la
%{_includedir}/cephfs
%{_includedir}/rados
%{_includedir}/radosstriper
%{_includedir}/cephfs
%{_includedir}/rados
%{_includedir}/radosstriper
%files static
%defattr(644,root,root,755)
%{_libdir}/libcephfs.a
%files static
%defattr(644,root,root,755)
%{_libdir}/libcephfs.a
+%{_libdir}/libos_tp.a
+%{_libdir}/libosd_tp.a
+%{_libdir}/librados_tp.a
%{_libdir}/libradosstriper.a
%{_libdir}/librbd.a
%{_libdir}/libradosstriper.a
%{_libdir}/librbd.a
%files -n python-ceph
%defattr(644,root,root,755)
%files -n python-ceph
%defattr(644,root,root,755)