]> git.pld-linux.org Git - packages/apache-mod_mpm_itk.git/commitdiff
- rel 4; add tmpfiles config auto/th/apache-mod_mpm_itk-2.4.7.02-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 Mar 2014 08:31:41 +0000 (09:31 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 21 Mar 2014 08:31:41 +0000 (09:31 +0100)
apache-mod_mpm_itk.spec
apache-mod_mpm_itk.tmpfiles [new file with mode: 0644]

index d7599f2b70a3b80a44949bc7b95500f164a0ff75..6badd1509b514f5601a0703a46a95c9d16762dda 100644 (file)
@@ -5,13 +5,14 @@
 Summary:       mod_mpm_itk - allows you to run each of your vhost under a separate uid and gid
 Name:          apache-mod_mpm_itk
 Version:       %{ver}.%{subver}
-Release:       3
+Release:       4
 License:       Apache v2.0
 Group:         Networking/Daemons/HTTP
 Source0:       http://mpm-itk.sesse.net/mpm-itk-%{ver}-%{subver}.tar.gz
 # Source0-md5: 241eddeef8d3931c6699a51d5d2169a7
 Source1:       %{name}.conf
 Source2:       %{name}-php.conf
+Source3:       %{name}.tmpfiles
 URL:           http://mpm-itk.sesse.net/
 BuildRequires: %{apxs}
 BuildRequires: apache-devel >= 2.4.7
@@ -41,8 +42,6 @@ you'd have to decide for yourself if that's worth it or not. You will
 also take an additional performance hit over prefork, since there's an
 extra fork per request.
 
-%define        no_install_post_check_tmpfiles  1
-
 %prep
 %setup -q -n mpm-itk-%{ver}-%{subver}
 
@@ -54,11 +53,12 @@ extra fork per request.
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_pkglibdir},%{_sysconfdir}/conf.d}
-install -d $RPM_BUILD_ROOT/var/run/php/ug
+install -d $RPM_BUILD_ROOT{/var/run/php/ug,%{systemdtmpfilesdir}}
 
 install -p .libs/mpm_itk.so $RPM_BUILD_ROOT%{_pkglibdir}
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/10_mod_%{mod_name}.conf
 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/99_mod_%{mod_name}-php.conf
+cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -77,6 +77,7 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}-php.conf
 %attr(755,root,root) %{_pkglibdir}/mpm_itk.so
+%{systemdtmpfilesdir}/%{name}.conf
 # multiple uid/gids in use
 %dir %attr(1773,root,root) /var/run/php/ug
 
diff --git a/apache-mod_mpm_itk.tmpfiles b/apache-mod_mpm_itk.tmpfiles
new file mode 100644 (file)
index 0000000..14ee51f
--- /dev/null
@@ -0,0 +1 @@
+d /var/run/php/ug 1773 root root -
This page took 0.098479 seconds and 4 git commands to generate.