Accepting request 706916 from home:jengelh:branches:Virtualization:containers
- Trim filler wording from description. - Remove --with-pic which often has no point with --disable-static. - Avoid bash-specific sh code. OBS-URL: https://build.opensuse.org/request/show/706916 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=10
This commit is contained in:
parent
adbe2299fd
commit
967bc75993
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 2 17:22:35 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Trim filler wording from description.
|
||||||
|
- Remove --with-pic which often has no point with --disable-static.
|
||||||
|
- Avoid bash-specific sh code.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 9 20:28:55 UTC 2019 - Aleksa Sarai <asarai@suse.com>
|
Thu May 9 20:28:55 UTC 2019 - Aleksa Sarai <asarai@suse.com>
|
||||||
|
|
||||||
|
9
lxd.spec
9
lxd.spec
@ -66,8 +66,8 @@ Recommends: btrfsprogs
|
|||||||
Suggests: zfs
|
Suggests: zfs
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LXD is a next generation system container manager. It offers a user experience
|
LXD is a system container manager. It offers a user experience
|
||||||
similar to virtual machines but using Linux containers (LXC) instead.
|
similar to virtual machines but uses Linux containers (LXC) instead.
|
||||||
|
|
||||||
%package bash-completion
|
%package bash-completion
|
||||||
Summary: Bash Completion for %{name}
|
Summary: Bash Completion for %{name}
|
||||||
@ -123,8 +123,7 @@ export LDFLAGS="-L$PWD/../sqlite/.libs/"
|
|||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
%configure \
|
||||||
--libdir="%{_libdir}/%{name}" \
|
--libdir="%{_libdir}/%{name}" \
|
||||||
--disable-static \
|
--disable-static
|
||||||
--with-pic
|
|
||||||
make clean
|
make clean
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
)
|
)
|
||||||
@ -143,7 +142,7 @@ do
|
|||||||
binary="$(basename "$mainpkg")"
|
binary="$(basename "$mainpkg")"
|
||||||
(
|
(
|
||||||
# We need to link against sqlite and dqlite only when dealing with lxd proper.
|
# We need to link against sqlite and dqlite only when dealing with lxd proper.
|
||||||
[[ "$binary" == "lxd" ]] && export \
|
[ "$binary" == "lxd" ] && export \
|
||||||
BUILDTAGS="libsqlite3" \
|
BUILDTAGS="libsqlite3" \
|
||||||
CGO_CFLAGS="%{optflags} -I$PKGDIR/dist/sqlite/ -I$PKGDIR/dist/dqlite/include/" \
|
CGO_CFLAGS="%{optflags} -I$PKGDIR/dist/sqlite/ -I$PKGDIR/dist/dqlite/include/" \
|
||||||
CGO_LDFLAGS="-L$PKGDIR/dist/sqlite/.libs/ -L$PKGDIR/dist/dqlite/.libs/" \
|
CGO_LDFLAGS="-L$PKGDIR/dist/sqlite/.libs/ -L$PKGDIR/dist/dqlite/.libs/" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user