Re: [PATCH sandbox] rpm: fix references to python 2 packages / files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-03-23 at 15:57 +0000, Daniel P. Berrangé wrote:
> Since we switched to python 3, we should have deps on the python 3 based
> packages, and look at the python 3 sitelib directory.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  libvirt-sandbox.spec.in | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/libvirt-sandbox.spec.in b/libvirt-sandbox.spec.in
> index 17e9dd9..f5868c1 100644
> --- a/libvirt-sandbox.spec.in
> +++ b/libvirt-sandbox.spec.in
> @@ -36,12 +36,12 @@ BuildRequires: zlib-devel >= 1.2.0, zlib-static
>  BuildRequires: libtirpc-devel
>  BuildRequires: rpcgen
>  %endif
> -Requires: rpm-python
> +Requires: python3-rpm
>  # For virsh lxc-enter-namespace command
>  Requires: libvirt-client >= %{libvirt_version}
>  Requires: systemd >= 198
>  Requires: pygobject3-base
> -Requires: libselinux-python
> +Requires: libselinux-python3
>  Requires: %{name}-libs = %{version}-%{release}
>  Requires: %{_bindir}/virt-builder
>  
> @@ -108,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT
>  %{_bindir}/virt-sandbox-service
>  %{_bindir}/virt-sandbox-image
>  %{_libexecdir}/virt-sandbox-service-util
> -%{python_sitelib}/libvirt_sandbox
> +%{python3_sitelib}/libvirt_sandbox
>  %{_mandir}/man1/virt-sandbox.1*
>  %{_mandir}/man1/virt-sandbox-service.1*
>  %{_mandir}/man1/virt-sandbox-service-*.1*

ACK
--
Cedric

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux