From 44b390d82cf0dbeef2ad089e00158cb7c8118438 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 6 Jul 2017 10:15:20 +0200 Subject: [PATCH] Fix pyhton3 support --- libldb.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libldb.spec b/libldb.spec index 3afc21e..c6c6adc 100644 --- a/libldb.spec +++ b/libldb.spec @@ -14,7 +14,7 @@ Name: libldb Version: 1.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A schema-less, ldap like, API and database Requires: libtalloc%{?_isa} >= %{talloc_version} Requires: libtdb%{?_isa} >= %{tdb_version} @@ -167,7 +167,6 @@ make %{?_smp_mflags} check make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/libldb.a -rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pyldb-util.cpython* # Shared libraries need to be marked executable for # rpmbuild to strip them and include them in debuginfo @@ -244,6 +243,7 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %files -n python3-ldb-devel %{_libdir}/libpyldb-util.cpython-*.so +%{_libdir}/pkgconfig/pyldb-util.cpython-*.pc %post -n python3-ldb -p /sbin/ldconfig %postun -n python3-ldb -p /sbin/ldconfig @@ -251,6 +251,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_* %endif %changelog +* Thu Jul 06 2017 Andreas Schneider - 1.2.0-2 +- Fix pyhton3 support + * Tue Jul 4 2017 Lukas Slebodnik - 1.2.0 - New upstream release 1.2.0 - Resolves: rhbz#1467118 - libldb-1.2.0 is available