Accepting request 506876 from filesystems:ceph
Eliminate several python build deps (forwarded request 506875 from smithfarm) OBS-URL: https://build.opensuse.org/request/show/506876 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ceph?expand=0&rev=14
This commit is contained in:
commit
e4b2f7e296
2
_service
2
_service
@ -1,6 +1,6 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="versionformat">12.0.3+git.%ct.%h</param>
|
<param name="versionformat">12.1.0+git.%ct.%h</param>
|
||||||
<param name="url">git://github.com/SUSE/ceph.git</param>
|
<param name="url">git://github.com/SUSE/ceph.git</param>
|
||||||
<param name="revision">ses5</param>
|
<param name="revision">ses5</param>
|
||||||
<param name="filename">ceph</param>
|
<param name="filename">ceph</param>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">git://github.com/SUSE/ceph.git</param>
|
<param name="url">git://github.com/SUSE/ceph.git</param>
|
||||||
<param name="changesrevision">b806032985d029d5ae667099b1a050e07516a96e</param></service></servicedata>
|
<param name="changesrevision">20d6a47cc9a08e4013d0492381d62b60f48eed47</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:49f908485120588e0b85ed2281b423a12e30f5c552213c454f8f584cb4aaae67
|
|
||||||
size 127011227
|
|
3
ceph-12.1.0+git.1498654198.20d6a47cc9.tar.bz2
Normal file
3
ceph-12.1.0+git.1498654198.20d6a47cc9.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4d74538a704616616e85d9ef7a89c36f5f25aff80248ed1e4ea8307b69e0cbb9
|
||||||
|
size 126993807
|
@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 28 13:33:48 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- Update to version 12.1.0+git.1498654198.20d6a47cc9:
|
||||||
|
+ build/ops: rpm: put mgr python build dependencies in make_check bcond
|
||||||
|
N.B. this effectively eliminates the following build dependencies:
|
||||||
|
python-Babel python-beautifulsoup4 python-CherryPy python-coverage
|
||||||
|
python-flup python-Genshi python-html5lib python-logutils python-nose
|
||||||
|
python-Paste python-PasteDeploy python-PasteDeploy python-pecan
|
||||||
|
python-pyquery python-singledispatch python-waitress python-WebOb
|
||||||
|
python-WebTest python-Werkzeug python-WSGIProxy2 pytyhon-python-openid
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 26 13:52:31 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- spec file:
|
||||||
|
+ removed BR libatomic_ops-devel as upstream replaced it with std:atomic
|
||||||
|
+ removed defattr as they are no longer needed on sle12 and newer
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 26 12:25:57 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- Update to version 12.1.0+git.1498478524.117b171715:
|
||||||
|
+ include 12.1.0 tag to make "ceph --version" happy
|
||||||
|
+ tests: drop hadoop-s3a tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 24 20:17:48 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- Update to version 12.1.0+git.1498309403.f4fc02fff4:
|
||||||
|
+ upstream 12.1.0 release; for details, see
|
||||||
|
http://ceph.com/releases/v12-1-0-luminous-rc-released/
|
||||||
|
+ revert several pre-release commits that are no longer needed
|
||||||
|
because the issues have been fixed upstream in the meantime
|
||||||
|
+ build/ops: rpm: sane packaging of %{_docdir}/ceph directory
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 23 08:11:22 UTC 2017 - ncutler@suse.com
|
Fri Jun 23 08:11:22 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
# main package definition
|
# main package definition
|
||||||
#################################################################################
|
#################################################################################
|
||||||
Name: ceph-test
|
Name: ceph-test
|
||||||
Version: 12.0.3+git.1498202776.b806032985
|
Version: 12.1.0+git.1498654198.20d6a47cc9
|
||||||
Release: 0%{?dist}
|
Release: 0%{?dist}
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
@ -116,6 +116,17 @@ BuildRequires: checkpolicy
|
|||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
BuildRequires: /usr/share/selinux/devel/policyhelp
|
BuildRequires: /usr/share/selinux/devel/policyhelp
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{with make_check}
|
||||||
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
|
BuildRequires: python-cherrypy
|
||||||
|
BuildRequires: python-werkzeug
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: python-CherryPy
|
||||||
|
BuildRequires: python-Werkzeug
|
||||||
|
%endif
|
||||||
|
BuildRequires: python-pecan
|
||||||
|
%endif
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: gperf
|
BuildRequires: gperf
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -129,7 +140,6 @@ BuildRequires: gperftools-devel >= 2.4
|
|||||||
BuildRequires: jq
|
BuildRequires: jq
|
||||||
BuildRequires: leveldb-devel > 1.2
|
BuildRequires: leveldb-devel > 1.2
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: libatomic_ops-devel
|
|
||||||
BuildRequires: libblkid-devel >= 2.17
|
BuildRequires: libblkid-devel >= 2.17
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
@ -149,6 +159,7 @@ BuildRequires: snappy-devel
|
|||||||
BuildRequires: udev
|
BuildRequires: udev
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
|
BuildRequires: which
|
||||||
BuildRequires: xfsprogs
|
BuildRequires: xfsprogs
|
||||||
BuildRequires: xfsprogs-devel
|
BuildRequires: xfsprogs-devel
|
||||||
BuildRequires: xmlstarlet
|
BuildRequires: xmlstarlet
|
||||||
@ -171,7 +182,6 @@ BuildRequires: keyutils-devel
|
|||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: lsb-release
|
BuildRequires: lsb-release
|
||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
BuildRequires: python-CherryPy
|
|
||||||
BuildRequires: python-Cython
|
BuildRequires: python-Cython
|
||||||
BuildRequires: python-PrettyTable
|
BuildRequires: python-PrettyTable
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
@ -188,7 +198,6 @@ BuildRequires: openldap-devel
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: redhat-lsb-core
|
BuildRequires: redhat-lsb-core
|
||||||
BuildRequires: Cython
|
BuildRequires: Cython
|
||||||
BuildRequires: python-cherrypy
|
|
||||||
BuildRequires: python-prettytable
|
BuildRequires: python-prettytable
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
%endif
|
%endif
|
||||||
@ -503,7 +512,7 @@ install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_libexecdir}/systemd/sys
|
|||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
||||||
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
||||||
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.fetch_config
|
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
|
||||||
|
|
||||||
# firewall templates and /sbin/mount.ceph symlink
|
# firewall templates and /sbin/mount.ceph symlink
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -538,8 +547,6 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mgr
|
|||||||
%py3_compile %{buildroot}%{python3_sitelib}
|
%py3_compile %{buildroot}%{python3_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
|
||||||
rm -rf %{buildroot}%{_docdir}/ceph/sample.fetch_config
|
|
||||||
rm -rf %{buildroot}%{_bindir}/crushtool
|
rm -rf %{buildroot}%{_bindir}/crushtool
|
||||||
rm -rf %{buildroot}%{_bindir}/monmaptool
|
rm -rf %{buildroot}%{_bindir}/monmaptool
|
||||||
rm -rf %{buildroot}%{_bindir}/osdmaptool
|
rm -rf %{buildroot}%{_bindir}/osdmaptool
|
||||||
@ -577,6 +584,10 @@ rm -rf %{buildroot}%{_mandir}/man8/ceph-run.8*
|
|||||||
rm -rf %{buildroot}%{_mandir}/man8/crushtool.8*
|
rm -rf %{buildroot}%{_mandir}/man8/crushtool.8*
|
||||||
rm -rf %{buildroot}%{_mandir}/man8/osdmaptool.8*
|
rm -rf %{buildroot}%{_mandir}/man8/osdmaptool.8*
|
||||||
rm -rf %{buildroot}%{_mandir}/man8/monmaptool.8*
|
rm -rf %{buildroot}%{_mandir}/man8/monmaptool.8*
|
||||||
|
rm -rf %{buildroot}%doc
|
||||||
|
rm -rf %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
||||||
|
rm -rf %{buildroot}%doc
|
||||||
|
rm -rf %{buildroot}%{_docdir}/ceph/COPYING
|
||||||
rm -rf %{buildroot}%{_bindir}/ceph
|
rm -rf %{buildroot}%{_bindir}/ceph
|
||||||
rm -rf %{buildroot}%{_bindir}/ceph-authtool
|
rm -rf %{buildroot}%{_bindir}/ceph-authtool
|
||||||
rm -rf %{buildroot}%{_bindir}/ceph-conf
|
rm -rf %{buildroot}%{_bindir}/ceph-conf
|
||||||
@ -868,7 +879,6 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
%if 0%{with ceph_test_package}
|
%if 0%{with ceph_test_package}
|
||||||
%files -n ceph-test
|
%files -n ceph-test
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/ceph-client-debug
|
%{_bindir}/ceph-client-debug
|
||||||
%{_bindir}/ceph_bench_log
|
%{_bindir}/ceph_bench_log
|
||||||
%{_bindir}/ceph_kvstorebench
|
%{_bindir}/ceph_kvstorebench
|
||||||
|
36
ceph.changes
36
ceph.changes
@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 28 13:33:48 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- Update to version 12.1.0+git.1498654198.20d6a47cc9:
|
||||||
|
+ build/ops: rpm: put mgr python build dependencies in make_check bcond
|
||||||
|
N.B. this effectively eliminates the following build dependencies:
|
||||||
|
python-Babel python-beautifulsoup4 python-CherryPy python-coverage
|
||||||
|
python-flup python-Genshi python-html5lib python-logutils python-nose
|
||||||
|
python-Paste python-PasteDeploy python-PasteDeploy python-pecan
|
||||||
|
python-pyquery python-singledispatch python-waitress python-WebOb
|
||||||
|
python-WebTest python-Werkzeug python-WSGIProxy2 pytyhon-python-openid
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 26 13:52:31 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- spec file:
|
||||||
|
+ removed BR libatomic_ops-devel as upstream replaced it with std:atomic
|
||||||
|
+ removed defattr as they are no longer needed on sle12 and newer
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 26 12:25:57 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- Update to version 12.1.0+git.1498478524.117b171715:
|
||||||
|
+ include 12.1.0 tag to make "ceph --version" happy
|
||||||
|
+ tests: drop hadoop-s3a tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 24 20:17:48 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
- Update to version 12.1.0+git.1498309403.f4fc02fff4:
|
||||||
|
+ upstream 12.1.0 release; for details, see
|
||||||
|
http://ceph.com/releases/v12-1-0-luminous-rc-released/
|
||||||
|
+ revert several pre-release commits that are no longer needed
|
||||||
|
because the issues have been fixed upstream in the meantime
|
||||||
|
+ build/ops: rpm: sane packaging of %{_docdir}/ceph directory
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 23 08:11:22 UTC 2017 - ncutler@suse.com
|
Fri Jun 23 08:11:22 UTC 2017 - ncutler@suse.com
|
||||||
|
|
||||||
|
69
ceph.spec
69
ceph.spec
@ -69,7 +69,7 @@
|
|||||||
# main package definition
|
# main package definition
|
||||||
#################################################################################
|
#################################################################################
|
||||||
Name: ceph
|
Name: ceph
|
||||||
Version: 12.0.3+git.1498202776.b806032985
|
Version: 12.1.0+git.1498654198.20d6a47cc9
|
||||||
Release: 0%{?dist}
|
Release: 0%{?dist}
|
||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
@ -110,6 +110,17 @@ BuildRequires: checkpolicy
|
|||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
BuildRequires: /usr/share/selinux/devel/policyhelp
|
BuildRequires: /usr/share/selinux/devel/policyhelp
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{with make_check}
|
||||||
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
|
BuildRequires: python-cherrypy
|
||||||
|
BuildRequires: python-werkzeug
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: python-CherryPy
|
||||||
|
BuildRequires: python-Werkzeug
|
||||||
|
%endif
|
||||||
|
BuildRequires: python-pecan
|
||||||
|
%endif
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: gperf
|
BuildRequires: gperf
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -123,7 +134,6 @@ BuildRequires: gperftools-devel >= 2.4
|
|||||||
BuildRequires: jq
|
BuildRequires: jq
|
||||||
BuildRequires: leveldb-devel > 1.2
|
BuildRequires: leveldb-devel > 1.2
|
||||||
BuildRequires: libaio-devel
|
BuildRequires: libaio-devel
|
||||||
BuildRequires: libatomic_ops-devel
|
|
||||||
BuildRequires: libblkid-devel >= 2.17
|
BuildRequires: libblkid-devel >= 2.17
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
@ -143,6 +153,7 @@ BuildRequires: snappy-devel
|
|||||||
BuildRequires: udev
|
BuildRequires: udev
|
||||||
BuildRequires: util-linux
|
BuildRequires: util-linux
|
||||||
BuildRequires: valgrind-devel
|
BuildRequires: valgrind-devel
|
||||||
|
BuildRequires: which
|
||||||
BuildRequires: xfsprogs
|
BuildRequires: xfsprogs
|
||||||
BuildRequires: xfsprogs-devel
|
BuildRequires: xfsprogs-devel
|
||||||
BuildRequires: xmlstarlet
|
BuildRequires: xmlstarlet
|
||||||
@ -165,7 +176,6 @@ BuildRequires: keyutils-devel
|
|||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: lsb-release
|
BuildRequires: lsb-release
|
||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
BuildRequires: python-CherryPy
|
|
||||||
BuildRequires: python-Cython
|
BuildRequires: python-Cython
|
||||||
BuildRequires: python-PrettyTable
|
BuildRequires: python-PrettyTable
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
@ -182,7 +192,6 @@ BuildRequires: openldap-devel
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: redhat-lsb-core
|
BuildRequires: redhat-lsb-core
|
||||||
BuildRequires: Cython
|
BuildRequires: Cython
|
||||||
BuildRequires: python-cherrypy
|
|
||||||
BuildRequires: python-prettytable
|
BuildRequires: python-prettytable
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
%endif
|
%endif
|
||||||
@ -333,13 +342,14 @@ Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
|
|||||||
%if 0%{?fedora} || 0%{?rhel}
|
%if 0%{?fedora} || 0%{?rhel}
|
||||||
Requires: python-cherrypy
|
Requires: python-cherrypy
|
||||||
Requires: python-werkzeug
|
Requires: python-werkzeug
|
||||||
|
Requires: pyOpenSSL
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
Requires: python-CherryPy
|
Requires: python-CherryPy
|
||||||
Requires: python-Werkzeug
|
Requires: python-Werkzeug
|
||||||
|
Requires: python-pyOpenSSL
|
||||||
%endif
|
%endif
|
||||||
Requires: python-pecan
|
Requires: python-pecan
|
||||||
Requires(post): openssl
|
|
||||||
%description mgr
|
%description mgr
|
||||||
ceph-mgr enables python modules that provide services (such as the REST
|
ceph-mgr enables python modules that provide services (such as the REST
|
||||||
module derived from Calamari) and expose CLI hooks. ceph-mgr gathers
|
module derived from Calamari) and expose CLI hooks. ceph-mgr gathers
|
||||||
@ -926,7 +936,7 @@ install -m 0644 -D systemd/50-ceph.preset %{buildroot}%{_libexecdir}/systemd/sys
|
|||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
install -m 0644 -D src/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.d/ceph
|
||||||
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.ceph.conf
|
||||||
chmod 0644 %{buildroot}%{_docdir}/ceph/sample.fetch_config
|
install -m 0644 -D COPYING %{buildroot}%{_docdir}/ceph/COPYING
|
||||||
|
|
||||||
# firewall templates and /sbin/mount.ceph symlink
|
# firewall templates and /sbin/mount.ceph symlink
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
@ -970,11 +980,6 @@ rm -rf %{buildroot}
|
|||||||
%files
|
%files
|
||||||
|
|
||||||
%files base
|
%files base
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%docdir %{_docdir}
|
|
||||||
%dir %{_docdir}/ceph
|
|
||||||
%{_docdir}/ceph/sample.ceph.conf
|
|
||||||
%{_docdir}/ceph/sample.fetch_config
|
|
||||||
%{_bindir}/crushtool
|
%{_bindir}/crushtool
|
||||||
%{_bindir}/monmaptool
|
%{_bindir}/monmaptool
|
||||||
%{_bindir}/osdmaptool
|
%{_bindir}/osdmaptool
|
||||||
@ -1078,7 +1083,9 @@ if [ $FIRST_ARG -ge 1 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files common
|
%files common
|
||||||
%defattr(-,root,root,-)
|
%dir %{_docdir}/ceph
|
||||||
|
%doc %{_docdir}/ceph/sample.ceph.conf
|
||||||
|
%doc %{_docdir}/ceph/COPYING
|
||||||
%{_bindir}/ceph
|
%{_bindir}/ceph
|
||||||
%{_bindir}/ceph-authtool
|
%{_bindir}/ceph-authtool
|
||||||
%{_bindir}/ceph-conf
|
%{_bindir}/ceph-conf
|
||||||
@ -1227,13 +1234,6 @@ fi
|
|||||||
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mgr
|
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mgr
|
||||||
|
|
||||||
%post mgr
|
%post mgr
|
||||||
CERT="%{_sysconfdir}/ceph/ceph-mgr-restful.crt"
|
|
||||||
PKEY="%{_sysconfdir}/ceph/ceph-mgr-restful.key"
|
|
||||||
if [ ! -e "$CERT" -o ! -e "$PKEY" ]; then
|
|
||||||
openssl req -new -nodes -x509 \
|
|
||||||
-subj "/O=IT/CN=ceph-mgr-restful" \
|
|
||||||
-days 3650 -keyout "$PKEY" -out "$CERT" -extensions v3_ca
|
|
||||||
fi
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
if [ $1 -eq 1 ] ; then
|
if [ $1 -eq 1 ] ; then
|
||||||
/usr/bin/systemctl preset ceph-mgr@\*.service ceph-mgr.target >/dev/null 2>&1 || :
|
/usr/bin/systemctl preset ceph-mgr@\*.service ceph-mgr.target >/dev/null 2>&1 || :
|
||||||
@ -1328,7 +1328,6 @@ if [ $FIRST_ARG -ge 1 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files fuse
|
%files fuse
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/ceph-fuse
|
%{_bindir}/ceph-fuse
|
||||||
%{_mandir}/man8/ceph-fuse.8*
|
%{_mandir}/man8/ceph-fuse.8*
|
||||||
%{_sbindir}/mount.fuse.ceph
|
%{_sbindir}/mount.fuse.ceph
|
||||||
@ -1336,12 +1335,10 @@ fi
|
|||||||
%{_unitdir}/ceph-fuse.target
|
%{_unitdir}/ceph-fuse.target
|
||||||
|
|
||||||
%files -n rbd-fuse
|
%files -n rbd-fuse
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/rbd-fuse
|
%{_bindir}/rbd-fuse
|
||||||
%{_mandir}/man8/rbd-fuse.8*
|
%{_mandir}/man8/rbd-fuse.8*
|
||||||
|
|
||||||
%files -n rbd-mirror
|
%files -n rbd-mirror
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/rbd-mirror
|
%{_bindir}/rbd-mirror
|
||||||
%{_mandir}/man8/rbd-mirror.8*
|
%{_mandir}/man8/rbd-mirror.8*
|
||||||
%{_unitdir}/ceph-rbd-mirror@.service
|
%{_unitdir}/ceph-rbd-mirror@.service
|
||||||
@ -1390,12 +1387,10 @@ if [ $FIRST_ARG -ge 1 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files -n rbd-nbd
|
%files -n rbd-nbd
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/rbd-nbd
|
%{_bindir}/rbd-nbd
|
||||||
%{_mandir}/man8/rbd-nbd.8*
|
%{_mandir}/man8/rbd-nbd.8*
|
||||||
|
|
||||||
%files radosgw
|
%files radosgw
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/radosgw
|
%{_bindir}/radosgw
|
||||||
%{_bindir}/radosgw-token
|
%{_bindir}/radosgw-token
|
||||||
%{_bindir}/radosgw-es
|
%{_bindir}/radosgw-es
|
||||||
@ -1510,7 +1505,6 @@ fi
|
|||||||
%if %{with ocf}
|
%if %{with ocf}
|
||||||
|
|
||||||
%files resource-agents
|
%files resource-agents
|
||||||
%defattr(0755,root,root,-)
|
|
||||||
%dir %{_prefix}/lib/ocf
|
%dir %{_prefix}/lib/ocf
|
||||||
%dir %{_prefix}/lib/ocf/resource.d
|
%dir %{_prefix}/lib/ocf/resource.d
|
||||||
%dir %{_prefix}/lib/ocf/resource.d/ceph
|
%dir %{_prefix}/lib/ocf/resource.d/ceph
|
||||||
@ -1519,7 +1513,6 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n librados2
|
%files -n librados2
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/librados.so.*
|
%{_libdir}/librados.so.*
|
||||||
%dir %{_libdir}/ceph
|
%dir %{_libdir}/ceph
|
||||||
%{_libdir}/ceph/libceph-common.so*
|
%{_libdir}/ceph/libceph-common.so*
|
||||||
@ -1532,7 +1525,6 @@ fi
|
|||||||
%postun -n librados2 -p /sbin/ldconfig
|
%postun -n librados2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n librados-devel
|
%files -n librados-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/rados
|
%dir %{_includedir}/rados
|
||||||
%{_includedir}/rados/librados.h
|
%{_includedir}/rados/librados.h
|
||||||
%{_includedir}/rados/librados.hpp
|
%{_includedir}/rados/librados.hpp
|
||||||
@ -1552,17 +1544,14 @@ fi
|
|||||||
%{_mandir}/man8/librados-config.8*
|
%{_mandir}/man8/librados-config.8*
|
||||||
|
|
||||||
%files -n python-rados
|
%files -n python-rados
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python_sitearch}/rados.so
|
%{python_sitearch}/rados.so
|
||||||
%{python_sitearch}/rados-*.egg-info
|
%{python_sitearch}/rados-*.egg-info
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-rados
|
%files -n python%{python3_pkgversion}-rados
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitearch}/rados.cpython*.so
|
%{python3_sitearch}/rados.cpython*.so
|
||||||
%{python3_sitearch}/rados-*.egg-info
|
%{python3_sitearch}/rados-*.egg-info
|
||||||
|
|
||||||
%files -n libradosstriper1
|
%files -n libradosstriper1
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libradosstriper.so.*
|
%{_libdir}/libradosstriper.so.*
|
||||||
|
|
||||||
%post -n libradosstriper1 -p /sbin/ldconfig
|
%post -n libradosstriper1 -p /sbin/ldconfig
|
||||||
@ -1570,14 +1559,12 @@ fi
|
|||||||
%postun -n libradosstriper1 -p /sbin/ldconfig
|
%postun -n libradosstriper1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libradosstriper-devel
|
%files -n libradosstriper-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/radosstriper
|
%dir %{_includedir}/radosstriper
|
||||||
%{_includedir}/radosstriper/libradosstriper.h
|
%{_includedir}/radosstriper/libradosstriper.h
|
||||||
%{_includedir}/radosstriper/libradosstriper.hpp
|
%{_includedir}/radosstriper/libradosstriper.hpp
|
||||||
%{_libdir}/libradosstriper.so
|
%{_libdir}/libradosstriper.so
|
||||||
|
|
||||||
%files -n librbd1
|
%files -n librbd1
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/librbd.so.*
|
%{_libdir}/librbd.so.*
|
||||||
%if %{with lttng}
|
%if %{with lttng}
|
||||||
%{_libdir}/librbd_tp.so.*
|
%{_libdir}/librbd_tp.so.*
|
||||||
@ -1591,7 +1578,6 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|||||||
%postun -n librbd1 -p /sbin/ldconfig
|
%postun -n librbd1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n librbd-devel
|
%files -n librbd-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/rbd
|
%dir %{_includedir}/rbd
|
||||||
%{_includedir}/rbd/librbd.h
|
%{_includedir}/rbd/librbd.h
|
||||||
%{_includedir}/rbd/librbd.hpp
|
%{_includedir}/rbd/librbd.hpp
|
||||||
@ -1602,7 +1588,6 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n librgw2
|
%files -n librgw2
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/librgw.so.*
|
%{_libdir}/librgw.so.*
|
||||||
|
|
||||||
%post -n librgw2 -p /sbin/ldconfig
|
%post -n librgw2 -p /sbin/ldconfig
|
||||||
@ -1610,34 +1595,28 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|||||||
%postun -n librgw2 -p /sbin/ldconfig
|
%postun -n librgw2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n librgw-devel
|
%files -n librgw-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/rados
|
%dir %{_includedir}/rados
|
||||||
%{_includedir}/rados/librgw.h
|
%{_includedir}/rados/librgw.h
|
||||||
%{_includedir}/rados/rgw_file.h
|
%{_includedir}/rados/rgw_file.h
|
||||||
%{_libdir}/librgw.so
|
%{_libdir}/librgw.so
|
||||||
|
|
||||||
%files -n python-rgw
|
%files -n python-rgw
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python_sitearch}/rgw.so
|
%{python_sitearch}/rgw.so
|
||||||
%{python_sitearch}/rgw-*.egg-info
|
%{python_sitearch}/rgw-*.egg-info
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-rgw
|
%files -n python%{python3_pkgversion}-rgw
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitearch}/rgw.cpython*.so
|
%{python3_sitearch}/rgw.cpython*.so
|
||||||
%{python3_sitearch}/rgw-*.egg-info
|
%{python3_sitearch}/rgw-*.egg-info
|
||||||
|
|
||||||
%files -n python-rbd
|
%files -n python-rbd
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python_sitearch}/rbd.so
|
%{python_sitearch}/rbd.so
|
||||||
%{python_sitearch}/rbd-*.egg-info
|
%{python_sitearch}/rbd-*.egg-info
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-rbd
|
%files -n python%{python3_pkgversion}-rbd
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitearch}/rbd.cpython*.so
|
%{python3_sitearch}/rbd.cpython*.so
|
||||||
%{python3_sitearch}/rbd-*.egg-info
|
%{python3_sitearch}/rbd-*.egg-info
|
||||||
|
|
||||||
%files -n libcephfs2
|
%files -n libcephfs2
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libcephfs.so.*
|
%{_libdir}/libcephfs.so.*
|
||||||
|
|
||||||
%post -n libcephfs2 -p /sbin/ldconfig
|
%post -n libcephfs2 -p /sbin/ldconfig
|
||||||
@ -1645,27 +1624,23 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|||||||
%postun -n libcephfs2 -p /sbin/ldconfig
|
%postun -n libcephfs2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libcephfs-devel
|
%files -n libcephfs-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/cephfs
|
%dir %{_includedir}/cephfs
|
||||||
%{_includedir}/cephfs/libcephfs.h
|
%{_includedir}/cephfs/libcephfs.h
|
||||||
%{_includedir}/cephfs/ceph_statx.h
|
%{_includedir}/cephfs/ceph_statx.h
|
||||||
%{_libdir}/libcephfs.so
|
%{_libdir}/libcephfs.so
|
||||||
|
|
||||||
%files -n python-cephfs
|
%files -n python-cephfs
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python_sitearch}/cephfs.so
|
%{python_sitearch}/cephfs.so
|
||||||
%{python_sitearch}/cephfs-*.egg-info
|
%{python_sitearch}/cephfs-*.egg-info
|
||||||
%{python_sitelib}/ceph_volume_client.py*
|
%{python_sitelib}/ceph_volume_client.py*
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-cephfs
|
%files -n python%{python3_pkgversion}-cephfs
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitearch}/cephfs.cpython*.so
|
%{python3_sitearch}/cephfs.cpython*.so
|
||||||
%{python3_sitearch}/cephfs-*.egg-info
|
%{python3_sitearch}/cephfs-*.egg-info
|
||||||
%{python3_sitelib}/ceph_volume_client.py
|
%{python3_sitelib}/ceph_volume_client.py
|
||||||
%{python3_sitelib}/__pycache__/ceph_volume_client.cpython*.py*
|
%{python3_sitelib}/__pycache__/ceph_volume_client.cpython*.py*
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-ceph-argparse
|
%files -n python%{python3_pkgversion}-ceph-argparse
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{python3_sitelib}/ceph_argparse.py
|
%{python3_sitelib}/ceph_argparse.py
|
||||||
%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
|
%{python3_sitelib}/__pycache__/ceph_argparse.cpython*.py*
|
||||||
%{python3_sitelib}/ceph_daemon.py
|
%{python3_sitelib}/ceph_daemon.py
|
||||||
@ -1673,7 +1648,6 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|||||||
|
|
||||||
%if 0%{with ceph_test_package}
|
%if 0%{with ceph_test_package}
|
||||||
%files -n ceph-test
|
%files -n ceph-test
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_bindir}/ceph-client-debug
|
%{_bindir}/ceph-client-debug
|
||||||
%{_bindir}/ceph_bench_log
|
%{_bindir}/ceph_bench_log
|
||||||
%{_bindir}/ceph_kvstorebench
|
%{_bindir}/ceph_kvstorebench
|
||||||
@ -1711,7 +1685,6 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|||||||
|
|
||||||
%if 0%{with cephfs_java}
|
%if 0%{with cephfs_java}
|
||||||
%files -n libcephfs_jni1
|
%files -n libcephfs_jni1
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libcephfs_jni.so.*
|
%{_libdir}/libcephfs_jni.so.*
|
||||||
|
|
||||||
%post -n libcephfs_jni1 -p /sbin/ldconfig
|
%post -n libcephfs_jni1 -p /sbin/ldconfig
|
||||||
@ -1719,23 +1692,19 @@ ln -sf %{_libdir}/librbd.so.1 /usr/lib64/qemu/librbd.so.1
|
|||||||
%postun -n libcephfs_jni1 -p /sbin/ldconfig
|
%postun -n libcephfs_jni1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libcephfs_jni-devel
|
%files -n libcephfs_jni-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libcephfs_jni.so
|
%{_libdir}/libcephfs_jni.so
|
||||||
|
|
||||||
%files -n cephfs-java
|
%files -n cephfs-java
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_javadir}/libcephfs.jar
|
%{_javadir}/libcephfs.jar
|
||||||
%{_javadir}/libcephfs-test.jar
|
%{_javadir}/libcephfs-test.jar
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n rados-objclass-devel
|
%files -n rados-objclass-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/rados
|
%dir %{_includedir}/rados
|
||||||
%{_includedir}/rados/objclass.h
|
%{_includedir}/rados/objclass.h
|
||||||
|
|
||||||
%if 0%{with selinux}
|
%if 0%{with selinux}
|
||||||
%files selinux
|
%files selinux
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%attr(0600,root,root) %{_datadir}/selinux/packages/ceph.pp
|
%attr(0600,root,root) %{_datadir}/selinux/packages/ceph.pp
|
||||||
%{_datadir}/selinux/devel/include/contrib/ceph.if
|
%{_datadir}/selinux/devel/include/contrib/ceph.if
|
||||||
%{_mandir}/man8/ceph_selinux.8*
|
%{_mandir}/man8/ceph_selinux.8*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user