diff --git a/lxd.changes b/lxd.changes index 7e55caa..ba813c5 100644 --- a/lxd.changes +++ b/lxd.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +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 + +- 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..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 @@ -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