Re: Is there a "Python 3 is available" macro for spec files?

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

 



On Mon, Nov 27, 2017 at 11:56:13AM +0000, Sérgio Basto wrote:
> On Mon, 2017-11-27 at 10:38 +0000, Richard W.M. Jones wrote:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1404631#c4
> > 
> > In this commit:
> > 
> > https://src.fedoraproject.org/rpms/nbdkit/c/f38f61c339f925928e8cd6e52
> > 0581968105ada96
> > 
> > I accidentally disabled Python 3 support on Fedora.
> > 
> > Is there a better way to write this?  What I really need is a pair of
> > macros "Python 2 is supported" & "Python 3 is supported" which I can
> > use to conditionalize the spec file.  Maybe checking if %{__python2}
> > and %{__python3} are non-empty?
> 
> https://fedoraproject.org/wiki/PackagingDrafts:Python3EPEL
> https://fedoraproject.org/wiki/User:Bkabrda/EPEL7_Python3
> 
> one recent example :
> https://pkgs.rpmfusion.org/cgit/free/openshot.git/commit/?h=el7&id=b2d1
> 626e070421baa6aea5f5dfd87683006b5400

That doesn't solve the question I asked unless I'm missing something.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux