SPECS: trafshow.spec - added %config, %verify() for config file - B...

darekr darekr at pld-linux.org
Mon Aug 21 17:03:22 CEST 2006


Author: darekr                       Date: Mon Aug 21 15:03:22 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added %config,%verify() for config file
- BR sed4, added CHANGES file to %doc

---- Files affected:
SPECS:
   trafshow.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/trafshow.spec
diff -u SPECS/trafshow.spec:1.25 SPECS/trafshow.spec:1.26
--- SPECS/trafshow.spec:1.25	Mon Mar 20 23:22:43 2006
+++ SPECS/trafshow.spec	Mon Aug 21 17:03:16 2006
@@ -12,6 +12,7 @@
 BuildRequires:	automake
 BuildRequires:	libpcap-devel
 BuildRequires:	ncurses-devel
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,10 +56,10 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc CHANGES README
 %attr(755,root,root) %{_sbindir}/trafshow
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/trafshow
 %{_mandir}/man1/trafshow.1*
-%{_sysconfdir}/trafshow
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -66,6 +67,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2006/08/21 15:03:16  darekr
+- added %config,%verify() for config file
+- BR sed4, added CHANGES file to %doc
+
 Revision 1.25  2006/03/20 22:22:43  maciek2w
 - updated to 5.2.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/trafshow.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list