瀏覽代碼

activate patches again

Ralf S. Engelschall 24 年之前
父節點
當前提交
2e35fd2726
共有 1 個文件被更改,包括 16 次插入16 次删除
  1. 16 16
      mutt/mutt.spec

+ 16 - 16
mutt/mutt.spec

@@ -27,8 +27,8 @@
 %define       V_mutt      1.3.24
 
 #   build options
-#%define       with_comp   yes
-#%define       with_nntp   yes
+%define       with_comp   yes
+%define       with_nntp   yes
 
 #   package information
 Name:         mutt
@@ -46,8 +46,8 @@ Release:      20011201
 Source0:      ftp://ftp.mutt.org/pub/mutt/mutt-%{V_mutt}i.tar.gz
 Source1:      mailcap
 Source2:      muttrc
-#Patch0:       ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.rr.compressed.gz
-#Patch1:       ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.vvv.nntp.gz
+Patch0:       ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.rr.compressed.gz
+Patch1:       ftp://ftp.mutt.org.ua/pub/mutt/mutt-%{V_mutt}/patch-%{V_mutt}.vvv.nntp.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -64,12 +64,12 @@ AutoReqProv:  no
 
 %prep
     %setup -q -n mutt-%{V_mutt}
-#%if "%{with_comp}" == "yes"
-#    %patch0 -p1
-#%endif
-#%if "%{with_nntp}" == "yes"
-#    %patch1 -p1
-#%endif
+%if "%{with_comp}" == "yes"
+    %patch0 -p1
+%endif
+%if "%{with_nntp}" == "yes"
+    %patch1 -p1
+%endif
 
 %build
     options=''
@@ -89,13 +89,13 @@ AutoReqProv:  no
         --enable-pop \
         --enable-imap \
         --disable-nls \
+%if "%{with_comp}" == "yes"
+        --enable-compressed \
+%endif
+%if "%{with_nntp}" == "yes"
+        --enable-nntp \
+%endif
         $options
-#%if "%{with_comp}" == "yes"
-#        --enable-compressed \
-#%endif
-#%if "%{with_nntp}" == "yes"
-#        --enable-nntp \
-#%endif
     %{l_make} %{l_mflags}
 
 %install