SPECS: template-apache1_module.spec - adapterized. ipv6 comments. ...
glen
glen at pld-linux.org
Sat Jul 16 11:51:36 CEST 2005
Author: glen Date: Sat Jul 16 09:51:36 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- adapterized. ipv6 comments. VERSION was for trigger not for package version
---- Files affected:
SPECS:
template-apache1_module.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/template-apache1_module.spec
diff -u SPECS/template-apache1_module.spec:1.6 SPECS/template-apache1_module.spec:1.7
--- SPECS/template-apache1_module.spec:1.6 Sat Jul 16 11:43:49 2005
+++ SPECS/template-apache1_module.spec Sat Jul 16 11:51:31 2005
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+# 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)
@@ -9,7 +10,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
@@ -78,12 +79,12 @@
%{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
@@ -99,7 +100,7 @@
%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}/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -108,6 +109,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2005/07/16 09:51:31 glen
+- adapterized. ipv6 comments. VERSION was for trigger not for package version
+
Revision 1.6 2005/07/16 09:43:49 glen
- clarifications
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/template-apache1_module.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list