فهرست منبع

upgrading package: postgrey 1.10 -> 1.11

Ralf S. Engelschall 21 سال پیش
والد
کامیت
b75bb89f9d
1فایلهای تغییر یافته به همراه10 افزوده شده و 4 حذف شده
  1. 10 4
      postgrey/postgrey.spec

+ 10 - 4
postgrey/postgrey.spec

@@ -33,8 +33,8 @@ Distribution: OpenPKG
 Class:        EVAL
 Group:        Mail
 License:      GPL
-Version:      1.10
-Release:      20040626
+Version:      1.11
+Release:      20040630
 
 #   list of sources
 Source0:      http://isg.ee.ethz.ch/tools/postgrey/pub/postgrey-%{version}.tar.gz
@@ -72,6 +72,7 @@ AutoReqProv:  no
 %build
     #   build manual page
     pod2man postgrey >postgrey.8
+    pod2man contrib/postgrey-report >contrib/postgrey-report.8
 
     #   build empty recipient list
     echo "" >postgrey_recipient_access
@@ -86,12 +87,17 @@ AutoReqProv:  no
         $RPM_BUILD_ROOT%{l_prefix}/etc/postgrey \
         $RPM_BUILD_ROOT%{l_prefix}/var/postgrey
 
-    #   install program and manual page
+    #   install programs and manual pages
     %{l_shtool} install -c -m 755 \
         -e 's;#!/usr/bin/perl;#!%{l_prefix}/bin/perl;g' \
         postgrey $RPM_BUILD_ROOT%{l_prefix}/sbin/
+    %{l_shtool} install -c -m 755 \
+        -e 's;#!/usr/bin/perl;#!%{l_prefix}/bin/perl;g' \
+        -e 's;/var/spool/postfix/postgrey;%{l_prefix}/var/postgrey;' \
+        contrib/postgrey-report $RPM_BUILD_ROOT%{l_prefix}/sbin/
     %{l_shtool} install -c -m 644 \
-        postgrey.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
+        postgrey.8 contrib/postgrey-report.8 \
+        $RPM_BUILD_ROOT%{l_prefix}/man/man8/
 
     #   install configuration files
     %{l_shtool} install -c -m 644 \