Add support for modpython on EPEL >= 7
This commit is contained in:
parent
aa5e141f54
commit
375994c11b
17
znc.spec
17
znc.spec
|
@ -6,14 +6,14 @@
|
|||
%global with_modperl 1
|
||||
%endif # 0%{?fedora} || 0%{?rhel} >= 6
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 7
|
||||
%global __python %{__python3}
|
||||
%global with_modpython 1
|
||||
%endif # 0%{?fedora} || 0%{?rhel} >= 8
|
||||
%endif # 0%{?fedora} || 0%{?rhel} >= 7
|
||||
|
||||
Name: znc
|
||||
Version: 1.6.3
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: An advanced IRC bouncer
|
||||
Group: System Environment/Daemons
|
||||
|
||||
|
@ -92,11 +92,19 @@ perl module for ZNC
|
|||
Summary: python3 module for ZNC
|
||||
Group: Development/Libraries
|
||||
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: python34-devel
|
||||
%else
|
||||
BuildRequires: python3-devel
|
||||
%endif # 0%{?rhel}
|
||||
BuildRequires: swig
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%if 0%{?rhel}
|
||||
Requires: python34
|
||||
%else
|
||||
Requires: python3
|
||||
%endif # 0%{?rhel}
|
||||
|
||||
%description modpython
|
||||
python3 module for ZNC
|
||||
|
@ -246,6 +254,9 @@ chown znc:znc /var/lib/znc
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 07 2016 Eli Young <elyscape@gmail.com> - 1.6.3-6
|
||||
- Add support for modpython on EPEL >= 7
|
||||
|
||||
* Fri Oct 07 2016 Nick Bebout <nb@fedoraproject.org> - 1.6.3-5
|
||||
- Fix bug 1367810
|
||||
|
||||
|
|
Loading…
Reference in New Issue