- rel 2 auto/th/apache1-mod_fastcgi-2_4_6-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 30 Jan 2012 20:36:40 +0000 (20:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added tmpfiles config for systemd

Changed files:
    apache1-mod_fastcgi.spec -> 1.55

apache1-mod_fastcgi.spec

index 515ed0b..2174421 100644 (file)
@@ -7,11 +7,12 @@ Summary(uk.UTF-8):    FastCGI - більш швидка версія CGI
 Name:          apache1-mod_%{mod_name}
 # NOTE: remember about apache-mod_fastcgi.spec when messing here
 Version:       2.4.6
-Release:       1
+Release:       2
 License:       distributable
 Group:         Networking/Daemons
 Source0:       http://www.fastcgi.com/dist/mod_%{mod_name}-%{version}.tar.gz
 # Source0-md5: a21a613dd5dacf4c8ad88c8550294fed
+Source1:       %{name}.tmpfiles
 Patch0:                %{name}-allow-uid-gid.patch
 Patch1:                %{name}-socketdir.patch
 Patch2:                %{name}-stderr-buf.patch
@@ -66,13 +67,16 @@ FastCGI - розширення CGI, яке надає можливість ст
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir},%{_socketdir}/dynamic}
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir},%{_socketdir}/dynamic} \
+       $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
 
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
 echo 'LoadModule %{mod_name}_module    modules/mod_%{mod_name}.so' > \
        $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
 
+install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -91,3 +95,4 @@ fi
 %attr(755,root,root) %{_pkglibdir}/*.so
 %dir %attr(770,root,http) %{_socketdir}
 %dir %attr(770,root,http) %{_socketdir}/dynamic
+/usr/lib/tmpfiles.d/%{name}.conf
This page took 0.090921 seconds and 4 git commands to generate.