Browse Source

libldb-1.1.31-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11159 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
b3ccfea42b
1 changed files with 15 additions and 5 deletions
  1. 15 5
      lib/libl/libldb/libldb-vl.spec

+ 15 - 5
lib/libl/libldb/libldb-vl.spec

@@ -1,12 +1,13 @@
 %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
+%define _unpackaged_files_terminate_build 1
 
-%define talloc_version 2.1.5
-%define tdb_version 1.3.8
-%define tevent_version 0.9.28
+%define talloc_version 2.1.9
+%define tdb_version 1.3.14
+%define tevent_version 0.9.32
 
 Name: libldb
 Summary: A schema-less, ldap like, API and database
-Version: 1.1.29
+Version: 1.1.31
 Release: 1%{?_dist_release}
 
 Group: System Environment/Libraries
@@ -106,7 +107,7 @@ servers, or use local tdb databases.
 # API is in flux. It is unsafe to make them public and shared at this time.
 %configure --disable-rpath \
            --disable-rpath-install \
-           --bundled-libraries=NONE \
+           --bundled-libraries=cmocka \
            --builtin-libraries=tdb_compat,ccan,replace \
            --with-modulesdir=%{_libdir}/ldb/modules \
            --with-privatelibdir=%{_libdir}/ldb
@@ -129,6 +130,10 @@ find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
 # Install API docs
 cp -a apidocs/man/* $RPM_BUILD_ROOT/%{_mandir}
 
+# drop garbages
+rm -f %{buildroot}%{_mandir}/man3/_home_vbuilder_rpm_BUILD_ldb-*_include_.3*
+rm -f %{buildroot}%{_mandir}/man3/ldif_read_file_state.3*
+
 %clean
 rm -rf %{buildroot}
 
@@ -161,6 +166,7 @@ rm -rf %{buildroot}
 %dir %{_libdir}/ldb/modules
 %dir %{_libdir}/ldb/modules/ldb
 %{_libdir}/ldb/libldb-cmdline.so
+%{_libdir}/ldb/libcmocka-ldb.so
 %{_libdir}/ldb/modules/ldb/*.so
 
 %files -n ldb-tools
@@ -212,12 +218,16 @@ rm -rf %{buildroot}
 %dir %{_libdir}/ldb/modules
 %dir %{_libdir}/ldb/modules/ldb
 %{_libdir}/ldb/libldb-cmdline.so
+%{_libdir}/ldb/libcmocka-ldb.so
 %{_libdir}/ldb/modules/ldb/*.so
 
 %endif
 
 
 %changelog
+* Sat Jul 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.31-1
+- new upstream release.
+
 * Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.29-1
 - new upstream release.