From: Danny Al-Gaaf Date: Thu, 30 Apr 2015 10:34:08 +0000 (+0200) Subject: ceph.spec.in: install ceph.limits.d X-Git-Tag: v9.1.0~294^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=596c9b68c83af70f2be6afede0df459846a78b7e;p=ceph.git ceph.spec.in: install ceph.limits.d limits.d expect the file to end with *.conf. Add the installed file to package list of the ceph package. Signed-off-by: Danny Al-Gaaf --- diff --git a/ceph.spec.in b/ceph.spec.in index 6dffda868fcd..c15e41682b30 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -592,7 +592,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' install -D src/rbdmap $RPM_BUILD_ROOT%{_sysconfdir}/ceph/rbdmap install -D src/init-rbdmap $RPM_BUILD_ROOT%{_initrddir}/rbdmap -install -D ceph.limits.d $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/ceph +install -D ceph.limits.d $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/ceph.conf %if 0%{?_with_systemd} install -m 0644 -D systemd/ceph.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf install -m 0644 -D systemd/ceph-rgw.tmpfiles.d $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}-rgw.conf @@ -794,6 +794,7 @@ mkdir -p %{_localstatedir}/run/ceph/ %{_libdir}/ceph/erasure-code/libec_*.so* %{_udevrulesdir}/60-ceph-partuuid-workaround.rules %{_udevrulesdir}/95-ceph-osd.rules +%config %{_sysconfdir}/security/limits.d/ceph.conf %config %{_sysconfdir}/bash_completion.d/ceph %config(noreplace) %{_sysconfdir}/logrotate.d/ceph %if 0%{?suse_version}