From 97f67a3516de7e20baf6104f2d9b8921dd86103b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 30 Nov 2017 09:49:32 +0100 Subject: [PATCH] Update spec file conditionals --- libtevent.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libtevent.spec b/libtevent.spec index eb72095..3d071df 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -1,6 +1,6 @@ %{!?python2_sitearch: %global python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %else %global with_python3 0 @@ -8,7 +8,7 @@ Name: libtevent Version: 0.9.34 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The tevent library License: LGPLv3+ URL: http://tevent.samba.org/ @@ -148,6 +148,9 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir} %endif %changelog +* Thu Nov 30 2017 Lukas Slebodnik - 0.9.34-2 +- Update spec file conditionals + * Tue Nov 14 2017 Lukas Slebodnik - 0.9.34-1 - New upstream release 0.9.34