|
@@ -1,12 +1,13 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%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
|
|
Name: libldb
|
|
Summary: A schema-less, ldap like, API and database
|
|
Summary: A schema-less, ldap like, API and database
|
|
-Version: 1.1.29
|
|
|
|
|
|
+Version: 1.1.31
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
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.
|
|
# API is in flux. It is unsafe to make them public and shared at this time.
|
|
%configure --disable-rpath \
|
|
%configure --disable-rpath \
|
|
--disable-rpath-install \
|
|
--disable-rpath-install \
|
|
- --bundled-libraries=NONE \
|
|
|
|
|
|
+ --bundled-libraries=cmocka \
|
|
--builtin-libraries=tdb_compat,ccan,replace \
|
|
--builtin-libraries=tdb_compat,ccan,replace \
|
|
--with-modulesdir=%{_libdir}/ldb/modules \
|
|
--with-modulesdir=%{_libdir}/ldb/modules \
|
|
--with-privatelibdir=%{_libdir}/ldb
|
|
--with-privatelibdir=%{_libdir}/ldb
|
|
@@ -129,6 +130,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}
|
|
|
|
|
|
|
|
+# 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
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
@@ -161,6 +166,7 @@ rm -rf %{buildroot}
|
|
%dir %{_libdir}/ldb/modules
|
|
%dir %{_libdir}/ldb/modules
|
|
%dir %{_libdir}/ldb/modules/ldb
|
|
%dir %{_libdir}/ldb/modules/ldb
|
|
%{_libdir}/ldb/libldb-cmdline.so
|
|
%{_libdir}/ldb/libldb-cmdline.so
|
|
|
|
+%{_libdir}/ldb/libcmocka-ldb.so
|
|
%{_libdir}/ldb/modules/ldb/*.so
|
|
%{_libdir}/ldb/modules/ldb/*.so
|
|
|
|
|
|
%files -n ldb-tools
|
|
%files -n ldb-tools
|
|
@@ -212,12 +218,16 @@ rm -rf %{buildroot}
|
|
%dir %{_libdir}/ldb/modules
|
|
%dir %{_libdir}/ldb/modules
|
|
%dir %{_libdir}/ldb/modules/ldb
|
|
%dir %{_libdir}/ldb/modules/ldb
|
|
%{_libdir}/ldb/libldb-cmdline.so
|
|
%{_libdir}/ldb/libldb-cmdline.so
|
|
|
|
+%{_libdir}/ldb/libcmocka-ldb.so
|
|
%{_libdir}/ldb/modules/ldb/*.so
|
|
%{_libdir}/ldb/modules/ldb/*.so
|
|
|
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%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
|
|
* Sun Dec 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.29-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|