Fix pyhton3 support

This commit is contained in:
Andreas Schneider 2017-07-06 10:15:20 +02:00
parent 1abc06a2dd
commit 44b390d82c

View File

@ -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 <asn@redhat.com> - 1.2.0-2
- Fix pyhton3 support
* Tue Jul 4 2017 Lukas Slebodnik <lslebodn@redhat.com> - 1.2.0
- New upstream release 1.2.0
- Resolves: rhbz#1467118 - libldb-1.2.0 is available