]> git.pld-linux.org Git - packages/exiscan.git/commitdiff
- more specific Requires
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 Jul 2003 15:12:20 +0000 (15:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    exiscan.spec -> 1.12

exiscan.spec

index ab8290fbc6101422efc4967a541c5c6286c26098..cf18cd97d50bfad5e88643f88bc799724451e974 100644 (file)
@@ -4,24 +4,25 @@ Summary(pl):  Antywirusowy skaner poczty elektronicznej dla Exim MTA
 Name:          exiscan
 Version:       2.4
 Release:       2
-URL:           http://duncanthrax.net/exiscan/
+License:       GPL
+Group:         Applications/Mail
 Source0:       http://duncanthrax.net/exiscan/%{name}-v%{version}.tar.gz
 # Source0-md5: aecc3771ee9893167ee4e6a90ff12b1b
 Source1:       %{name}.init
 Patch0:                %{name}-config.patch
 Patch1:                %{name}-user.patch
-License:       GPL
-Group:         Applications/Mail
+URL:           http://duncanthrax.net/exiscan/
 BuildRequires: perl-devel
 BuildRequires: perl-modules
 BuildRequires: perl-MailTools
 BuildRequires: perl-Unix-Syslog
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
 Requires:      exim >= 3.00
 # http://www.pldaniels.com/ripmime/
 Requires:      ripmime
 # http://world.std.com/~damned/software.html
 Requires:      tnef
-Prereq:                /sbin/chkconfig
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -58,6 +59,9 @@ install %{SOURCE1}    $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install exiscan*.pl    $RPM_BUILD_ROOT%{_sbindir}/exiscan
 install exiscan*.cf    $RPM_BUILD_ROOT%{_sysconfdir}/mail/exiscan.cf
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 /sbin/chkconfig --add %{name}
 if [ -f %{_var}/lock/subsys/%{name} ]; then
@@ -79,6 +83,3 @@ fi
 %attr(640,root,exim) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/*.cf
 %attr(750,exim,root) %{_var}/spool/%{name}
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
This page took 0.07336 seconds and 4 git commands to generate.