New upstream release 1.1.8
- Required for latest Samba 4 beta - Fixes for pyldb - Revert to using tdb1 by default - Drop support for tdb_compat - CCAN is no longer built as a static library
This commit is contained in:
parent
e55a9ba8fb
commit
3c910618a1
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
|||||||
/ldb-1.1.3.tar.gz
|
/ldb-1.1.3.tar.gz
|
||||||
/ldb-1.1.4.tar.gz
|
/ldb-1.1.4.tar.gz
|
||||||
/ldb-1.1.6.tar.gz
|
/ldb-1.1.6.tar.gz
|
||||||
|
/ldb-1.1.8.tar.gz
|
||||||
|
26
libldb.spec
26
libldb.spec
@ -8,7 +8,7 @@
|
|||||||
%define tevent_version 0.9.15
|
%define tevent_version 0.9.15
|
||||||
|
|
||||||
Name: libldb
|
Name: libldb
|
||||||
Version: 1.1.6
|
Version: 1.1.8
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: A schema-less, ldap like, API and database
|
Summary: A schema-less, ldap like, API and database
|
||||||
@ -40,7 +40,6 @@ BuildRequires: doxygen
|
|||||||
|
|
||||||
Provides: bundled(libreplace)
|
Provides: bundled(libreplace)
|
||||||
Provides: bundled(libtdb_compat)
|
Provides: bundled(libtdb_compat)
|
||||||
Provides: bundled(libccan)
|
|
||||||
|
|
||||||
# Patches
|
# Patches
|
||||||
|
|
||||||
@ -90,16 +89,12 @@ Development files for the Python bindings for the LDB library
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# tdb_compat and ccan have no upstream releases to link against yet and their
|
|
||||||
# API is in flux. It is unsafe to make them public and shared at this time.
|
|
||||||
# Fedora doesn't yet support tdb2, so build against tdb1 for now
|
|
||||||
%configure --disable-rpath \
|
%configure --disable-rpath \
|
||||||
--disable-rpath-install \
|
--disable-rpath-install \
|
||||||
--bundled-libraries=NONE \
|
--bundled-libraries=NONE \
|
||||||
--builtin-libraries=tdb_compat,ccan,replace \
|
--builtin-libraries=replace \
|
||||||
--with-modulesdir=%{_libdir}/ldb/modules \
|
--with-modulesdir=%{_libdir}/ldb/modules \
|
||||||
--with-privatelibdir=%{_libdir}/ldb \
|
--with-privatelibdir=%{_libdir}/ldb
|
||||||
--disable-tdb2
|
|
||||||
|
|
||||||
# Don't build with multiple processors
|
# Don't build with multiple processors
|
||||||
# It breaks due to a threading issue in WAF
|
# It breaks due to a threading issue in WAF
|
||||||
@ -111,9 +106,6 @@ make install DESTDIR=%{buildroot}
|
|||||||
|
|
||||||
rm -f %{buildroot}%{_libdir}/libldb.a
|
rm -f %{buildroot}%{_libdir}/libldb.a
|
||||||
|
|
||||||
# Remove _tevent.so (it's managed by python-tevent)
|
|
||||||
#rm -f %{buildroot}/%{python_sitearch}/_tevent.so
|
|
||||||
|
|
||||||
# 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
|
||||||
find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
|
find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
|
||||||
@ -121,6 +113,10 @@ find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
|
|||||||
# Install API docs
|
# Install API docs
|
||||||
cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
|
cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
|
||||||
|
|
||||||
|
# LDB 1.1.8 bug: remove manpage named after full
|
||||||
|
# file path
|
||||||
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/_*
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -181,6 +177,14 @@ rm -rf %{buildroot}
|
|||||||
%postun -n pyldb -p /sbin/ldconfig
|
%postun -n pyldb -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 10 2012 Stephen Gallagher <sgallagh@redhat.com> - 1.1.8-1
|
||||||
|
- New upstream release 1.1.8
|
||||||
|
- Required for latest Samba 4 beta
|
||||||
|
- Fixes for pyldb
|
||||||
|
- Revert to using tdb1 by default
|
||||||
|
- Drop support for tdb_compat
|
||||||
|
- CCAN is no longer built as a static library
|
||||||
|
|
||||||
* Tue May 22 2012 Stephen Gallagher <sgallagh@redhat.com> - 1.1.6-1
|
* Tue May 22 2012 Stephen Gallagher <sgallagh@redhat.com> - 1.1.6-1
|
||||||
- New upstream release 1.1.6
|
- New upstream release 1.1.6
|
||||||
- Drop upstream patches
|
- Drop upstream patches
|
||||||
|
Loading…
Reference in New Issue
Block a user