Browse Source

activate patches again

master
parent
commit
2e35fd2726
  1. 32
      mutt/mutt.spec

32
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

Loading…
Cancel
Save