Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1490416 Details for
Bug 1636020
Provide %py3_build_expected, and/or %py2_build_expected macro
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposal for Fedora 30 and Rawhide
what-python-to-build-against.patch (text/plain), 1.04 KB, created by
Pavel Raiskup
on 2018-10-04 09:25:14 UTC
(
hide
)
Description:
Proposal for Fedora 30 and Rawhide
Filename:
MIME Type:
Creator:
Pavel Raiskup
Created:
2018-10-04 09:25:14 UTC
Size:
1.04 KB
patch
obsolete
>From 534d78b7b499667a25a254bb4bede21cb81a2211 Mon Sep 17 00:00:00 2001 >From: Pavel Raiskup <praiskup@redhat.com> >Date: Thu, 4 Oct 2018 10:40:18 +0200 >Subject: [PATCH] Let maintainers know what Python to build against > >- on Fedora >= 30 we expect only Python 3 builds >- on Fedora < 30 we expect both Python {2,3} builds >- on EPEL 6 and 7 we expect only Python 2 (epel-rpm-config) > >This way we can newly do conditionals like: > > %if 0%{?py3_build_expected:1} > %package -n python3-foo > ... > %endif > >Or the single-line variant: > > %{?py2_build_expected:%py2_build} > >This allows us to keep spec files consistent across all supported >EPEL and Fedora branches. >--- > macros | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/macros b/macros >index d7ffc84..976fb17 100644 >--- a/macros >+++ b/macros >@@ -260,3 +260,5 @@ > %global __find_provides /bin/sh -c "%{?__filter_prov_cmd} %{__deploop P} %{?__filter_from_prov}" \ > %global __find_requires /bin/sh -c "%{?__filter_req_cmd} %{__deploop R} %{?__filter_from_req}" \ > } >+ >+%global py3_build_expected 1 >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1636020
: 1490416