]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- adapterized. ipv6 comments. VERSION was for trigger not for package version
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 16 Jul 2005 09:51:31 +0000 (09:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-module.spec -> 1.7

apache1-module.spec

index 59febce630f3ca7911c7c70b95d15f7a243e8edb..49ba912995549c1870b030150c989c741d1aad98 100644 (file)
@@ -1,3 +1,4 @@
+# You'll need ipv6 bcond and patch if the module alters IP related structures.
 %bcond_without ipv6            # disable IPv6 support
 #
 # Replace MODNAME with real module name (example for mod_example)
@@ -8,7 +9,7 @@
 Summary:       Apache module: ...
 Summary(pl):   Modu³ Apache'a: ...
 Name:          apache1-mod_%{mod_name}
-Version:       VERSION
+Version:       -
 Release:       0.1
 License:       - (enter Apache/GPL/LGPL/BSD/BSD-like/other license name here)
 Group:         Networking/Daemons
@@ -77,12 +78,12 @@ if grep -q '^Include conf\.d' /etc/apache/apache.conf; then
        %{apxs} -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
        sed -i -e '
                /^Include.*mod_%{mod_name}\.conf/d
-       ' /etc/apache/apache.conf
+' /etc/apache/apache.conf
 else
        # they're still using old apache.conf
        sed -i -e '
                s,^Include.*mod_%{mod_name}\.conf,Include %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf,
-       ' /etc/apache/apache.conf
+' /etc/apache/apache.conf
 fi
 if [ -f /var/lock/subsys/apache ]; then
        /etc/rc.d/init.d/apache restart 1>&2
@@ -98,5 +99,5 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*
This page took 0.501103 seconds and 4 git commands to generate.