From 29defc43f701aeaf7b43323df4d4f1c458c1499aca7877ddc5c3cc9386a34e0f Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Sat, 1 Feb 2020 23:41:43 +0000 Subject: [PATCH 1/2] Accepting request 769301 from home:cyphar:lxc - Fix bash-completion by installing it to the correct path. boo#1162426 OBS-URL: https://build.opensuse.org/request/show/769301 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=42 --- lxd.changes | 5 +++++ lxd.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lxd.changes b/lxd.changes index 7e55caa..b32b8bc 100644 --- a/lxd.changes +++ b/lxd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 1 23:37:24 UTC 2020 - Aleksa Sarai + +- Fix bash-completion by installing it to the correct path. boo#1162426 + ------------------------------------------------------------------- Fri Jan 31 10:16:27 UTC 2020 - Aleksa Sarai diff --git a/lxd.spec b/lxd.spec index a1c4899..da4f8af 100644 --- a/lxd.spec +++ b/lxd.spec @@ -292,7 +292,7 @@ done popd # bash-completion. -install -D -m 0644 scripts/bash/lxd-client %{buildroot}%{_datadir}/bash-completion/completions/lxd-client +install -D -m 0644 scripts/bash/lxd-client %{buildroot}%{_datadir}/bash-completion/completions/lxc # sysv-init and systemd setup. install -D -m 0644 %{S:100} %{buildroot}%{_unitdir}/%{name}.service From 87879031d69d94370e3a91a3dc236534e5c0764848bca52720a10d4306a5e509 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Mon, 3 Feb 2020 15:07:50 +0000 Subject: [PATCH 2/2] Accepting request 769640 from home:dimstar:Factory Shortcut through -mini OBS-URL: https://build.opensuse.org/request/show/769640 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=43 --- lxd.changes | 6 ++++++ lxd.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lxd.changes b/lxd.changes index b32b8bc..ba813c5 100644 --- a/lxd.changes +++ b/lxd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 3 15:03:49 UTC 2020 - Dominique Leuenberger + +- BuildRequire pkgconfig(libudev) instead of libudev-devel: Allow + OBS to shortcut through the -mini flavors. + ------------------------------------------------------------------- Sat Feb 1 23:37:24 UTC 2020 - Aleksa Sarai diff --git a/lxd.spec b/lxd.spec index da4f8af..39bf812 100644 --- a/lxd.spec +++ b/lxd.spec @@ -44,11 +44,11 @@ BuildRequires: fdupes BuildRequires: golang-packaging BuildRequires: libacl-devel BuildRequires: libcap-devel -BuildRequires: libudev-devel BuildRequires: patchelf BuildRequires: pkg-config BuildRequires: rsync BuildRequires: golang(API) >= 1.10 +BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(lxc) >= 3.0.0 # Needed to build the sqlite fork and dqlite. BuildRequires: autoconf