SPECS: dict-web1913.spec - rel 9 (use %service)
glen
glen at pld-linux.org
Mon Mar 12 01:17:14 CET 2007
Author: glen Date: Mon Mar 12 00:17:14 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 9 (use %service)
---- Files affected:
SPECS:
dict-web1913.spec (1.23 -> 1.24)
---- Diffs:
================================================================
Index: SPECS/dict-web1913.spec
diff -u SPECS/dict-web1913.spec:1.23 SPECS/dict-web1913.spec:1.24
--- SPECS/dict-web1913.spec:1.23 Mon Feb 12 22:23:53 2007
+++ SPECS/dict-web1913.spec Mon Mar 12 01:17:09 2007
@@ -5,7 +5,7 @@
Summary(pl.UTF-8): Słownik Webster's Revised Unabridged Dictionary dla dictd
Name: dict-%{dictname}
Version: 1.4
-Release: 8
+Release: 9
License: Free for personal or research use, distributable
Group: Applications/Dictionaries
Source0: ftp://ftp.dict.org/pub/dict/%{name}-%{version}.tar.gz
@@ -20,6 +20,7 @@
BuildRequires: bison
BuildRequires: dictzip
BuildRequires: flex
+BuildRequires: rpmbuild(macros) >= 1.268
Requires: %{_sysconfdir}/dictd
Requires: dictd
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -66,13 +67,11 @@
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
@@ -86,6 +85,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.24 2007/03/12 00:17:09 glen
+- rel 9 (use %service)
+
Revision 1.23 2007/02/12 21:23:53 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dict-web1913.spec?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list