rpms/dictd/devel dictd.spec,1.34,1.35
Karsten Hopp
karsten at fedoraproject.org
Thu Jan 22 15:32:17 UTC 2009
Author: karsten
Update of /cvs/extras/rpms/dictd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5323
Modified Files:
dictd.spec
Log Message:
- add postun script (#225694)
- fix file permissions (defattr)
Index: dictd.spec
===================================================================
RCS file: /cvs/extras/rpms/dictd/devel/dictd.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- dictd.spec 14 Jan 2009 13:57:37 -0000 1.34
+++ dictd.spec 22 Jan 2009 15:31:47 -0000 1.35
@@ -2,7 +2,7 @@
Summary: DICT protocol (RFC 2229) command-line client
Name: dictd
Version: 1.11.0
-Release: 1
+Release: 2
License: GPL+ and zlib and MIT
Group: Applications/Internet
Source0: http://downloads.sourceforge.net/dict/%{name}-%{version}.tar.gz
@@ -12,6 +12,7 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): chkconfig
Requires(preun): chkconfig
+Requires(postun): initscripts
BuildRequires: flex bison libtool libtool-libs libtool-ltdl-devel byacc
BuildRequires: libdbi-devel, zlib-devel, gawk
@@ -51,8 +52,13 @@
/sbin/chkconfig --del dictd
fi
+%postun
+%if [ $1 -ge 1 ] ; then
+ /sbin/service dictd condrestart > /dev/null 2>&1 || :
+%fi
+
%files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
%doc ANNOUNCE COPYING ChangeLog README doc/rfc2229.txt doc/security.doc
%{_bindir}/*
%{_sbindir}/*
@@ -61,6 +67,10 @@
%config(noreplace) %{_sysconfdir}/sysconfig/dictd
%changelog
+* Thu Jan 22 2009 Karsten Hopp <karsten at redhat.com> 1.11.0-2
+- add postun script (#225694)
+- fix file permissions (defattr)
+
* Wed Jan 14 2009 Karsten Hopp <karsten at redhat.com> 1.11.0-1
- update
More information about the fedora-extras-commits
mailing list