/[smeserver]/rpms/spamassassin/sme9/spamassassin.spec
ViewVC logotype

Diff of /rpms/spamassassin/sme9/spamassassin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.6 by vip-ire, Fri Jul 10 14:26:18 2015 UTC Revision 1.7 by vip-ire, Fri Jul 10 15:22:41 2015 UTC
# Line 144  To filter spam for all users, add that l Line 144  To filter spam for all users, add that l
144  %build  %build
145  (cd spamc; autoconf)  (cd spamc; autoconf)
146  %define _perl_buildroot %{nil}  %define _perl_buildroot %{nil}
147    test -z "$PERL5LIB" && export PERL5LIB=%{buildroot}%{perl_vendorarch}:%{buildroot}%{perl_vendorlib} || \
148      export PERL5LIB="$PERL5LIB":%{buildroot}%{perl_vendorarch}:%{buildroot}%{perl_vendorlib}
149  test -z "$CFLAGS" && export CFLAGS="%{optflags}"  test -z "$CFLAGS" && export CFLAGS="%{optflags}"
150  %{__perl} Makefile.PL 'PREFIX=%{_perl_buildroot}%{_prefix}' INSTALLDIRS=vendor ENABLE_SSL=yes  %{__perl} Makefile.PL 'PREFIX=%{_perl_buildroot}%{_prefix}' INSTALLDIRS=vendor ENABLE_SSL=yes
151  %{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile  %{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
152  %{__make} OPTIMIZE="$RPM_OPT_FLAGS"  %{__make} OPTIMIZE="$RPM_OPT_FLAGS"
153  %if %{?_without_check:0}%{!?_without_check:1}  %if %{?_without_check:0}%{!?_without_check:1}
154  %{__make} test ||:  %{__make} test || :
155  %endif  %endif
156  mv spamd/README spamd/README.spamd  mv spamd/README spamd/README.spamd
157    
158  %install  %install
159  rm -rf %{buildroot}  rm -rf %{buildroot}
160  %perl_makeinstall DESTDIR=%{buildroot}  %{__make} install DESTDIR_REDIRECT=%{buildroot} DESTDIR=%{buildroot}
161    find %{buildroot} \( -name .packlist -or -name perllocal.pod -or \( -name '*.bs' -a -empty \) \) -exec rm -f {} \;
162  install -d %{buildroot}/%{_initrddir}  install -d %{buildroot}/%{_initrddir}
163  install -p -m 0755 spamd/redhat-rc-script.sh %{buildroot}/%{_initrddir}/spamassassin  install -p -m 0755 spamd/redhat-rc-script.sh %{buildroot}/%{_initrddir}/spamassassin
164    
# Line 199  mkdir -p %{buildroot}/var/lib/spamassass Line 202  mkdir -p %{buildroot}/var/lib/spamassass
202    
203  %{perl_vendorlib}/Mail/SpamAssassin.pm  %{perl_vendorlib}/Mail/SpamAssassin.pm
204  %{perl_vendorlib}/Mail/SpamAssassin  %{perl_vendorlib}/Mail/SpamAssassin
205  %{perl_man3dir}/Mail::SpamAssassin*.3pm*  %{_mandir}/man3/Mail::SpamAssassin*.3pm*
206  %{perl_man1dir}/sa-awl.1*  %{_mandir}/man1/sa-awl.1*
207  %{perl_vendorlib}/spamassassin-run.pod  %{perl_vendorlib}/spamassassin-run.pod
208  %{_datadir}/spamassassin  %{_datadir}/spamassassin
209    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed