SPECS: postfixadmin.spec - vacation script has config part, should...

blues blues at pld-linux.org
Sun Dec 16 23:07:52 CET 2007


Author: blues                        Date: Sun Dec 16 22:07:52 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- vacation script has config part, shouldn't be replaced (mark it).

---- Files affected:
SPECS:
   postfixadmin.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/postfixadmin.spec
diff -u SPECS/postfixadmin.spec:1.19 SPECS/postfixadmin.spec:1.20
--- SPECS/postfixadmin.spec:1.19	Sun Dec 16 21:47:50 2007
+++ SPECS/postfixadmin.spec	Sun Dec 16 23:07:46 2007
@@ -3,6 +3,7 @@
 # - webapps support: apache1, lighttpd
 # - find nice way to split it into 4 parts: user, admin, domain-admin and common
 # - package css and templates as config.
+# - put config part of vacation.pl into separate file (there is configuration part in that).
 Summary:	Web Based Management tool created for Postfix
 Summary(pl.UTF-8):	Narzędzie WWW do zarządzania Postfiksem
 Name:		postfixadmin
@@ -107,7 +108,8 @@
 done
 
 # We don't need it:
-rm -f $RPM_BUILD_ROOT%{_appdir}/setup.php
+rm -f $RPM_BUILD_ROOT%{_appdir}/setup.php \
+	$RPM_BUILD_ROOT%{_appdir}/VIRTUAL_VACATION/index.php
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -152,7 +154,7 @@
 %defattr(644,root,root,755)
 %doc VIRTUAL_VACATION
 %attr(700,vacation,vacation) %dir /var/spool/vacation
-%attr(700,vacation,vacation) /var/spool/vacation/vacation.pl
+%attr(700,vacation,vacation) %config(noreplace) %verify(not md5 mtime size) /var/spool/vacation/vacation.pl
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -160,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2007-12-16 22:07:46  blues
+- vacation script has config part, shouldn't be replaced (mark it).
+
 Revision 1.19  2007-12-16 20:47:50  blues
 - virtual vacation docs to vacation subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postfixadmin.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list