Author: glen                         Date: Mon Mar 12 01:01:54 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- HEAD merge

---- Files affected:
SPECS:
   dict-vietanh.spec (1.8 -> 1.8.2.1) 

---- Diffs:

================================================================
Index: SPECS/dict-vietanh.spec
diff -u SPECS/dict-vietanh.spec:1.8 SPECS/dict-vietanh.spec:1.8.2.1
--- SPECS/dict-vietanh.spec:1.8 Thu Aug 19 17:51:15 2004
+++ SPECS/dict-vietanh.spec     Mon Mar 12 02:01:49 2007
@@ -4,7 +4,7 @@
 Summary(pl):   Słownik wietnamsko-angielski dla dictd
 Name:          dict-%{dictname}
 Version:       1.0
-Release:       3
+Release:       4
 License:       GPL (?)
 Group:         Applications/Dictionaries
 Source0:       http://vietlug.sourceforge.net/download/emacs/%{dictname}.index
@@ -12,8 +12,9 @@
 Source1:       
http://vietlug.sourceforge.net/download/emacs/%{dictname}.telex.dz
 # Source1-md5: 4a4a9f37916d3db0d4ca3ab0e7381927
 URL:           http://vietlug.sourceforge.net/
-Requires:      dictd
 Requires:      %{_sysconfdir}/dictd
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires:      dictd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,18 +43,16 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/dictd ]; then
-       /etc/rc.d/init.d/dictd restart 1>&2
-fi
+%service -q dictd restart
 
 %postun
-if [ -f /var/lock/subsys/dictd ]; then
-       /etc/rc.d/init.d/dictd restart 1>&2 || true
+if [ "$1" = 0 ]; then
+       %service -q dictd restart
 fi
 
 %files
 %defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/dictd/%{dictname}.dictconf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/dictd/%{dictname}.dictconf
 %{_datadir}/dictd/%{dictname}.*
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -62,6 +61,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8.2.1  2007/03/12 01:01:49  glen
+- HEAD merge
+
 Revision 1.8  2004/08/19 15:51:15  averne
 - rel++
 
@@ -75,7 +77,7 @@
 - massive attack s/pld.org.pl/pld-linux.org/
 
 Revision 1.4  2003/02/11 11:54:15  qboosh
-- empty %%prep is sufficient for builder
+- empty %prep is sufficient for builder
 
 Revision 1.3  2003/02/09 20:26:33  kloczek
 - s/%setup -C/%setup -q -T -c/
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dict-vietanh.spec?r1=1.8&r2=1.8.2.1&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to