[lxc-devel] [PATCH] added dependency to lxc-libs to lxc package, to ensure matching versions of lxc and lxc-libs being installed (was: Dependency on correct lxc-libs missing in the spec?)
Serge Hallyn
serge.hallyn at ubuntu.com
Fri Jan 23 18:57:25 UTC 2015
Quoting Johannes Kastl (mail at ojkastl.de):
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 23.01.2015 Serge Hallyn wrote:
>
> >> Adding a Requires to the libs-section in the spec should help, I
> >> guess. I'll try it locally and report back.
> >
> > Cool, sounds reasonable, patch appreciated :)
>
> You call, you get. ;-)
Awesome, thanks.
> See attachment, this is against master. Comments welcome.
>
> Regards,
> Johannes
> - --
> The first half of our lives is ruined by our parents, and the second
> half by our children.
> (Clarence Darrow, 1857-1938)
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
>
> iEYEARECAAYFAlTCkrUACgkQzi3gQ/xETbLH4ACeORQ71c3pzPKE4UbecwBAmjMD
> iVIAnA1pboJkhWuTyhTI7n9DQqnFFquX
> =Vge4
> -----END PGP SIGNATURE-----
> From ad84f4f4f87f0a0ea074ab383499f1a72d6ce29b Mon Sep 17 00:00:00 2001
> From: Johannes Kastl <mail at ojkastl.de>
> Date: Fri, 23 Jan 2015 19:25:28 +0100
> Subject: [PATCH] added dependency to lxc-libs to lxc package, to ensure
> matching versions of lxc and lxc-libs being installed
>
> Signed-off-by: Johannes Kastl <mail at ojkastl.de>
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> lxc.spec.in | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lxc.spec.in b/lxc.spec.in
> index e64122c..a3cb6af 100644
> --- a/lxc.spec.in
> +++ b/lxc.spec.in
> @@ -69,6 +69,7 @@ Group: Applications/System
> License: LGPLv2+
> BuildRoot: %{_tmppath}/%{name}-%{version}-build
> Requires: openssl rsync dnsmasq bridge-utils
> +Requires: %{name}-libs = %{version}-%{release}
> Requires(pre): /usr/sbin/useradd
> Requires(postun): /usr/sbin/userdel
> %if 0%{?fedora} < 15 || 0%{?rhel} < 7
> --
> 2.2.2
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list