SPECS: mopd.spec - added sysconfig

baggins baggins at pld-linux.org
Fri Feb 16 14:49:11 CET 2007


Author: baggins                      Date: Fri Feb 16 13:49:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added sysconfig

---- Files affected:
SPECS:
   mopd.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/mopd.spec
diff -u SPECS/mopd.spec:1.2 SPECS/mopd.spec:1.3
--- SPECS/mopd.spec:1.2	Wed Feb 14 19:54:41 2007
+++ SPECS/mopd.spec	Fri Feb 16 14:49:06 2007
@@ -2,7 +2,7 @@
 Summary:	The Maintenance Operations Protocol (MOP) loader daemon
 Name:		mopd
 Version:	2.5.3
-Release:	0.1
+Release:	0.2
 License:	BSD
 Group:		Networking/Daemons
 #Source0:	http://linux-vax.sourceforge.net/download/mopd-linux.tar.gz
@@ -10,6 +10,7 @@
 Source0:	ftp://ftp3.ds.pg.gda.pl/people/macro/mopd/%{name}-%{version}.tar.gz
 # Source0-md5:	b2bbea45c885309682c24e3f8674ac45
 Source1:	%{name}.init
+Source2:	%{name}.sysconfig
 Patch0:		%{name}-linux.patch
 Patch1:		%{name}-vax-linux.patch
 Patch2:		%{name}-proto.patch
@@ -89,6 +90,7 @@
 install moptrace/moptrace.1 $RPM_BUILD_ROOT%{_mandir}/man1/moptrace.1
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/mopd
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/mopd
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -105,20 +107,23 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(754, root, root) %config(noreplace) /etc/rc.d/init.d/mopd
-%attr(755, root, root) %{_bindir}/*
-%attr(755, root, root) %{_sbindir}/*
+%attr(754,root,root) %config(noreplace) /etc/rc.d/init.d/mopd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mopd
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_sbindir}/*
 %dir /var/lib/mop
 %{_mandir}/man1/*
 %{_mandir}/man8/*
 
-%attr(755, root, root) %{_sbindir}/mopd
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2007/02/16 13:49:06  baggins
+- added sysconfig
+
 Revision 1.2  2007/02/14 18:54:41  baggins
 - proper dir in description
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mopd.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list