Accepting request 545581 from filesystems:ceph:mimic
boo#1069468 OBS-URL: https://build.opensuse.org/request/show/545581 OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/ceph?expand=0&rev=150
This commit is contained in:
16
ceph.spec
16
ceph.spec
@@ -32,6 +32,10 @@
|
||||
%bcond_with ceph_test_package
|
||||
%bcond_with cephfs_java
|
||||
%bcond_without lowmem_builder
|
||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||
%if ! %{defined _fillupdir}
|
||||
%define _fillupdir /var/adm/fillup-templates
|
||||
%endif
|
||||
%if 0%{?is_opensuse}
|
||||
%bcond_without lttng
|
||||
%else
|
||||
@@ -63,7 +67,7 @@
|
||||
#################################################################################
|
||||
Name: ceph
|
||||
Version: 13.0.0
|
||||
Release: 3531.g3692e00bab%{?dist}
|
||||
Release: 3534.g92e556138e%{?dist}
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Epoch: 2
|
||||
%endif
|
||||
@@ -79,10 +83,10 @@ Group: System/Filesystems
|
||||
%endif
|
||||
URL: http://ceph.com/
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Source0: https://download.ceph.com/tarballs/ceph-13.0.0-3531-g3692e00bab.tar.bz2
|
||||
Source0: https://download.ceph.com/tarballs/ceph-13.0.0-3534-g92e556138e.tar.bz2
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Source0: ceph-13.0.0-3531-g3692e00bab.tar.bz2
|
||||
Source0: ceph-13.0.0-3534-g92e556138e.tar.bz2
|
||||
# _insert_obs_source_lines_here
|
||||
%if 0%{?is_opensuse}
|
||||
ExclusiveArch: x86_64 aarch64 ppc64 ppc64le
|
||||
@@ -790,7 +794,7 @@ python-rbd, python-rgw or python-cephfs instead.
|
||||
# common
|
||||
#################################################################################
|
||||
%prep
|
||||
%autosetup -p1 -n ceph-13.0.0-3531-g3692e00bab
|
||||
%autosetup -p1 -n ceph-13.0.0-3534-g92e556138e
|
||||
|
||||
%build
|
||||
%if 0%{with cephfs_java}
|
||||
@@ -915,7 +919,7 @@ install -m 0644 -D src/etc-rbdmap %{buildroot}%{_sysconfdir}/ceph/rbdmap
|
||||
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_sysconfdir}/sysconfig/ceph
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
||||
install -m 0644 -D etc/sysconfig/ceph %{buildroot}%{_fillupdir}/sysconfig.%{name}
|
||||
%endif
|
||||
install -m 0644 -D systemd/ceph.tmpfiles.d %{buildroot}%{_tmpfilesdir}/ceph-common.conf
|
||||
install -m 0755 -D systemd/ceph %{buildroot}%{_sbindir}/rcceph
|
||||
@@ -1007,7 +1011,7 @@ rm -rf %{buildroot}
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/ceph
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.*
|
||||
%{_fillupdir}/sysconfig.*
|
||||
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon
|
||||
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user