Parcourir la source

upgrading package: spambouncer 1.9.20041210 -> 2.0.20050624

Ralf S. Engelschall il y a 20 ans
Parent
commit
ba88ef78d5
1 fichiers modifiés avec 5 ajouts et 16 suppressions
  1. 5 16
      spambouncer/spambouncer.spec

+ 5 - 16
spambouncer/spambouncer.spec

@@ -32,11 +32,11 @@ Distribution: OpenPKG
 Class:        PLUS
 Group:        Mail
 License:      GPL
-Version:      1.9.20041210
-Release:      20041212
+Version:      2.0.20050624
+Release:      20050625
 
 #   list of sources
-Source0:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/spambouncer/sb-%{version}.tar.Z
+Source0:      ftp://ftp.openpkg.org/sources/CPY/VERSIONED/spambouncer/sb-%{version}.tar.gz
 Source1:      spambouncer.rc
 
 #   build information
@@ -64,25 +64,14 @@ AutoReqProv:  no
 
 %build
     #   remove unused files
-    rm -f *.bak
-    rm -f legitlists
-    rm -f freemail
-    rm -f procmail.rc
-
-    #   cleanup remaining file list
-    mv spam sb-reply-spam.txt
-    mv notify sb-reply-notify.txt
-    %{l_shtool} subst -v \
-        -e 's;/spam;/sb-reply-spam.txt;g' \
-        -e 's;/notify;/sb-reply-notify.txt;g' *
+    rm -rf auxiliary
 
 %install
     rm -rf $RPM_BUILD_ROOT
     %{l_shtool} mkdir -f -p -m 755 \
         $RPM_BUILD_ROOT%{l_prefix}/etc/spambouncer \
         $RPM_BUILD_ROOT%{l_prefix}/share/spambouncer
-    %{l_shtool} install -c -m 644 \
-        * $RPM_BUILD_ROOT%{l_prefix}/share/spambouncer/
+    cp -r * $RPM_BUILD_ROOT%{l_prefix}/share/spambouncer/
     %{l_shtool} install -c -m 644 %{l_value -s -a} \
         %{SOURCE spambouncer.rc} \
         $RPM_BUILD_ROOT%{l_prefix}/etc/spambouncer/