Disable modpython on epel6
This commit is contained in:
parent
3923bf1f20
commit
5ba8a87dfa
18
znc.spec
18
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@fedoraproject.org> - 0.200-0.4.rc1
|
||||
- Change znc's homedir to /var/lib/znc
|
||||
|
|
Loading…
Reference in New Issue