Fixing configure options in spec

This commit is contained in:
Nick Bebout 2009-07-23 02:53:18 +00:00
parent 668107b681
commit fd08392c14
1 changed files with 5 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Summary: An advanced IRC bouncer Summary: An advanced IRC bouncer
Name: znc Name: znc
Version: 0.072 Version: 0.072
Release: 2%{?dist} Release: 3%{?dist}
License: GPLv2 with exceptions License: GPLv2 with exceptions
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://znc.sf.net/ URL: http://znc.sf.net/
@ -12,11 +12,6 @@ BuildRequires: perl
BuildRequires: openssl-devel >= 0.9.8 BuildRequires: openssl-devel >= 0.9.8
BuildRequires: cyrus-sasl-devel BuildRequires: cyrus-sasl-devel
# the c-ares part of ZNC does not work on EPEL
# because the EPEL c-ares-devel does not install
# the .pc file for it
%{?fedora:BuildRequires: c-ares-devel}
# The following line is necessary because this module # The following line is necessary because this module
# is needed for Fedora, but not for EPEL. # is needed for Fedora, but not for EPEL.
%{?fedora:BuildRequires: perl-ExtUtils-Embed} %{?fedora:BuildRequires: perl-ExtUtils-Embed}
@ -45,8 +40,7 @@ chmod -x modules/q.cpp
%build %build
%configure \ %configure \
--with-module-prefix=%{_libdir}/znc \ --with-module-prefix=%{_libdir}/znc \
%{!?fedora:--disable-c-ares \} --enable-ipv6 --enable-sasl --disable-c-ares
--enable-ipv6 --enable-sasl
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
@ -72,7 +66,9 @@ chmod -x modules/q.cpp
%{_includedir}/znc/ %{_includedir}/znc/
%changelog %changelog
* Web Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-2 * Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-3
- Fix date in changelog, disable c-ares
* Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-2
- Backport patch to fix webadmin skins issue introduced in 0.072 - Backport patch to fix webadmin skins issue introduced in 0.072
* Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-1 * Wed Jul 22 2009 Nick Bebout <nb@fedoraproject.org> - 0.072-1
- Upgrade to 0.072 of ZNC, fixes security issue in bug # 513152 - Upgrade to 0.072 of ZNC, fixes security issue in bug # 513152