Fix pyhton3 support
This commit is contained in:
parent
1abc06a2dd
commit
44b390d82c
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
Name: libldb
|
Name: libldb
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A schema-less, ldap like, API and database
|
Summary: A schema-less, ldap like, API and database
|
||||||
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
Requires: libtalloc%{?_isa} >= %{talloc_version}
|
||||||
Requires: libtdb%{?_isa} >= %{tdb_version}
|
Requires: libtdb%{?_isa} >= %{tdb_version}
|
||||||
@ -167,7 +167,6 @@ make %{?_smp_mflags} check
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libldb.a
|
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
|
# Shared libraries need to be marked executable for
|
||||||
# rpmbuild to strip them and include them in debuginfo
|
# 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
|
%files -n python3-ldb-devel
|
||||||
%{_libdir}/libpyldb-util.cpython-*.so
|
%{_libdir}/libpyldb-util.cpython-*.so
|
||||||
|
%{_libdir}/pkgconfig/pyldb-util.cpython-*.pc
|
||||||
|
|
||||||
%post -n python3-ldb -p /sbin/ldconfig
|
%post -n python3-ldb -p /sbin/ldconfig
|
||||||
%postun -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
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 4 2017 Lukas Slebodnik <lslebodn@redhat.com> - 1.2.0
|
||||||
- New upstream release 1.2.0
|
- New upstream release 1.2.0
|
||||||
- Resolves: rhbz#1467118 - libldb-1.2.0 is available
|
- Resolves: rhbz#1467118 - libldb-1.2.0 is available
|
||||||
|
Loading…
Reference in New Issue
Block a user