https://bugzilla.redhat.com/show_bug.cgi?id=1367033 Orion Poplawski <orion@xxxxxxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |orion@xxxxxxxxxxxxx --- Comment #38 from Orion Poplawski <orion@xxxxxxxxxxxxx> --- (In reply to Muayyad Alsadi from comment #35) > I was able to produce an rpm with %check that validates the build > > 1. after applying the merged upstream patch (not included in 1.1.3 release) > 2. adding the following BR (to make it work for epel too) > > %if 0%{?rhel} > BuildRequires: python34, python34-pytest python34-mock > %else > BuildRequires: python3, python3-pytest python3-mock > %endif Just use: BuildRequires: python%{python3_pkgversion} etc. Basically, replace python3 with python%{python3_pkgversion} everywhere except in macro names. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx