diff --git a/libldb.spec b/libldb.spec index 0918f12..997fd31 100644 --- a/libldb.spec +++ b/libldb.spec @@ -2,7 +2,7 @@ %{!?python2_sitelib: %global python2_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?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 @@ -14,7 +14,7 @@ Name: libldb Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -245,6 +245,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %endif %changelog +* Thu Nov 30 2017 Lukas Slebodnik - 1.3.0-3 +- Update spec file conditionals + * Sat Oct 21 2017 Lukas Slebodnik - 1.3.0-2 - Fix memory leak introduced in 1.3.0