From 7c22b852c73b94148043dd35636e2dd21a80d531 Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Wed, 4 Sep 2013 18:18:13 +0200 Subject: [PATCH] Follow tmpfiles.d packaging guidelines https://fedorahosted.org/freeipa/ticket/3881 --- freeipa.spec.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/freeipa.spec.in b/freeipa.spec.in index 67bd3667d..88c02258d 100644 --- a/freeipa.spec.in +++ b/freeipa.spec.in @@ -423,8 +423,8 @@ install -m 644 init/ipa_memcached.conf %{buildroot}%{_sysconfdir}/sysconfig/ipa_ mkdir -p %{buildroot}%{_usr}/share/ipa/ui/js/plugins # NOTE: systemd specific section -mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d/ -install -m 0644 init/systemd/ipa.conf.tmpfiles %{buildroot}%{_sysconfdir}/tmpfiles.d/ipa.conf +mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d +install -m 0644 init/systemd/ipa.conf.tmpfiles %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf # END mkdir -p %{buildroot}%{_localstatedir}/run/ @@ -611,7 +611,7 @@ fi %dir %attr(0700,apache,apache) %{_localstatedir}/run/ipa_memcached/ %dir %attr(0700,root,root) %{_localstatedir}/run/ipa/ # NOTE: systemd specific section -%config(noreplace) %{_sysconfdir}/tmpfiles.d/ipa.conf +%{_prefix}/lib/tmpfiles.d/%{name}.conf %attr(644,root,root) %{_unitdir}/ipa.service %attr(644,root,root) %{_unitdir}/ipa_memcached.service %attr(644,root,root) %{_unitdir}/ipa-otpd.socket @@ -836,6 +836,9 @@ fi %endif # ONLY_CLIENT %changelog +* Wed Sep 4 2013 Ana Krivokapic - 3.3.90-3 +- Conform to tmpfiles.d packaging guidelines + * Wed Aug 14 2013 Petr Viktorin - 3.3.90-2 - Add man pages to the tests subpackage