Re: [python PATCH] rpm: use new python macros for build/install rules

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

 



On Wed, 2019-04-03 at 18:11 +0100, Daniel P. Berrangé wrote:
[...]
>  %if %{with_python2}
> +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
> +%py2_build
> +%else

So based on this it looks like the %py*_build macros were only
introduced in Fedora 29...

>  %if %{with_python2}
> +%if 0%{?fedora} || 0%{?rhel} >= 8
> +%py2_install
> +%else

... but based on this it seems like the %py*_install macros were
already present in Fedora 28?

Looking at my Fedora 28 guest, more specifically in

  /usr/lib/rpm/macros.d/macros.python*

I see the %py*_build macros, so I guess the latter version is the
correct one.

Once you've removed the bogus '>= 29's,

  Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization

--
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