From 70292658d5febb6c5f94af4df9c3e93551772d12 Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Thu, 30 Apr 2015 10:55:38 +1000 Subject: [PATCH] packaging: move SuSEfirewall2 templates out of src Better to have static config like this that needs to be installed in /etc in a separate subdirectory of the project. Signed-off-by: Tim Serong --- ceph.spec.in | 4 ++-- .../sysconfig/SuSEfirewall2.d/services/ceph-mon | 0 .../sysconfig/SuSEfirewall2.d/services/ceph-osd-mds | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/susefirewall-ceph-mon => etc/sysconfig/SuSEfirewall2.d/services/ceph-mon (100%) rename src/susefirewall-ceph-osd-mds => etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds (100%) diff --git a/ceph.spec.in b/ceph.spec.in index 6856bd6fac4c9..7ccd122bbe177 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -508,8 +508,8 @@ chmod 0644 $RPM_BUILD_ROOT%{_docdir}/ceph/sample.fetch_config # firewall templates %if 0%{?suse_version} -install -m 0644 -D src/susefirewall-ceph-mon %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon -install -m 0644 -D src/susefirewall-ceph-osd-mds %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds +install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-mon %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-mon +install -m 0644 -D etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds %endif # udev rules diff --git a/src/susefirewall-ceph-mon b/etc/sysconfig/SuSEfirewall2.d/services/ceph-mon similarity index 100% rename from src/susefirewall-ceph-mon rename to etc/sysconfig/SuSEfirewall2.d/services/ceph-mon diff --git a/src/susefirewall-ceph-osd-mds b/etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds similarity index 100% rename from src/susefirewall-ceph-osd-mds rename to etc/sysconfig/SuSEfirewall2.d/services/ceph-osd-mds