Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
ctdb-packaging: Package private libraries
Browse files Browse the repository at this point in the history
Remove the private libraries from builtin_libraries and package them
instead.

Signed-off-by: Amitay Isaacs <[email protected]>
Reviewed-by: Martin Schwenke <[email protected]>

Autobuild-User(master): Amitay Isaacs <[email protected]>
Autobuild-Date(master): Wed Jul  1 07:19:43 CEST 2015 on sn-devel-104
  • Loading branch information
amitay authored and Amitay Isaacs committed Jul 1, 2015
1 parent ba77907 commit 6c4e3cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ctdb/configure.rpm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ else
fi

CFLAGS="-Wall -g -D_GNU_SOURCE" ./configure \
--builtin-libraries=replace,popt,samba-debug,socket-blocking,tdb-wrap \
--builtin-libraries=replace,popt \
--bundled-libraries=!talloc,!tevent,!tdb \
--minimum-library-version=talloc:2.0.8,tdb:1.2.11,tevent:0.9.16 \
--prefix=/usr \
Expand Down
4 changes: 3 additions & 1 deletion ctdb/packaging/RPM/ctdb.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fi
export CC

CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./buildtools/bin/waf configure \
--builtin-libraries=replace,popt,samba-debug,socket-blocking,tdb-wrap \
--builtin-libraries=replace,popt \
--bundled-libraries=!talloc,!tevent,!tdb \
--minimum-library-version=talloc:%libtalloc_version,tdb:%libtdb_version,tevent:%libtevent_version \
%if %with_pcp_pmda
Expand Down Expand Up @@ -199,6 +199,8 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/ltdbtool
%{_bindir}/ctdb_diagnostics
%{_bindir}/onnode
%dir %{_libdir}
%{_libdir}/ctdb/lib*
%{_mandir}/man1/ctdb.1.gz
%{_mandir}/man1/ctdbd.1.gz
%{_mandir}/man1/ctdbd_wrapper.1.gz
Expand Down

0 comments on commit 6c4e3cf

Please sign in to comment.