[znc/el6] Disable modpython on epel6

Nick Bebout nb at fedoraproject.org
Tue Aug 16 01:59:37 UTC 2011


commit 5ba8a87dfaadcbe3ab48c60018bfdd8a2df52fcb
Author: Nick Bebout <nb at fedoraproject.org>
Date:   Mon Aug 15 20:59:18 2011 -0500

    Disable modpython on epel6

 znc.spec |   18 ++----------------
 1 files changed, 2 insertions(+), 16 deletions(-)
---
diff --git a/znc.spec b/znc.spec
index a477e25..a95d0c8 100644
--- a/znc.spec
+++ b/znc.spec
@@ -31,7 +31,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  perl gcc-c++
 BuildRequires:  openssl-devel >= 0.9.8
 BuildRequires:  cyrus-sasl-devel
-BuildRequires:  c-ares-devel automake python3-devel
+BuildRequires:  c-ares-devel automake
 BuildRequires:  perl(ExtUtils::Embed) swig tcl-devel
 %if %{use_systemd}
 BuildRequires: systemd-units
@@ -86,15 +86,6 @@ Provides:      perl(ZNC::Module) = %{version}-%{release}
 %description modperl
 perl module for ZNC
 
-%package modpython
-Summary:       python3 module for ZNC
-Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
-Requires:      python3
-
-%description modpython
-python3 module for ZNC
-
 %prep
 %setup -q -n %{name}-%{version}-rc1
 %patch0 -p1
@@ -105,7 +96,7 @@ chmod -x modules/q.cpp
 ./autogen.sh
 %configure \
      --with-module-prefix=%{_libdir}/znc \
-     --enable-ipv6 --enable-extra --enable-sasl --enable-python --enable-perl --enable-tcl
+     --enable-ipv6 --enable-extra --enable-sasl --enable-perl --enable-tcl
 %__make %{?_smp_mflags}
 
 %pre
@@ -241,11 +232,6 @@ fi
 %{_libdir}/znc/modperl.so
 %{_libdir}/znc/perleval.pm
 
-%files modpython
-%defattr(-,root,root)
-%{_libdir}/znc/modpython/
-%{_libdir}/znc/modpython.so
-
 %changelog
 * Mon Aug 15 2011 Nick Bebout <nb at fedoraproject.org> - 0.200-0.4.rc1
 - Change znc's homedir to /var/lib/znc


More information about the scm-commits mailing list