SPECS (AC-branch): dict-jargon.spec - HEAD merge
glen
glen at pld-linux.org
Mon Mar 12 02:04:03 CET 2007
Author: glen Date: Mon Mar 12 01:04:03 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- HEAD merge
---- Files affected:
SPECS:
dict-jargon.spec (1.23 -> 1.23.2.1)
---- Diffs:
================================================================
Index: SPECS/dict-jargon.spec
diff -u SPECS/dict-jargon.spec:1.23 SPECS/dict-jargon.spec:1.23.2.1
--- SPECS/dict-jargon.spec:1.23 Thu Aug 19 17:51:15 2004
+++ SPECS/dict-jargon.spec Mon Mar 12 02:03:58 2007
@@ -4,7 +4,7 @@
Summary(pl): Słownik Hacker Jargon dla dictd
Name: dict-%{dictname}
Version: 4.4.7
-Release: 2
+Release: 3
License: GPL
Group: Applications/Dictionaries
# Source0: http://www.tuxedo.org/~esr/jargon/jarg433.gz
@@ -13,8 +13,9 @@
URL: http://www.dict.org/
BuildRequires: dictfmt
BuildRequires: dictzip
-Requires: dictd
+BuildRequires: rpmbuild(macros) >= 1.268
Requires: %{_sysconfdir}/dictd
+Requires: dictd
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -49,18 +50,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"`)
@@ -69,6 +68,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.23.2.1 2007/03/12 01:03:58 glen
+- HEAD merge
+
Revision 1.23 2004/08/19 15:51:15 averne
- rel++
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/dict-jargon.spec?r1=1.23&r2=1.23.2.1&f=u
More information about the pld-cvs-commit
mailing list