Bug 1241655
Summary: | please add new python macros also to epel | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Thomas Spura <tomspur> | ||||||
Component: | epel-rpm-macros | Assignee: | Kevin Fenzi <kevin> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | epel7 | CC: | carl, kevin, mcepl, mcepl, orion, redhat-bugzilla, tbielawa, tomspur | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 7-3 epel-rpm-macros-7-4 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-11-19 22:55:57 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1257554 | ||||||||
Attachments: |
|
Description
Thomas Spura
2015-07-09 17:42:28 UTC
It would be nice to get at least some of these macros into EL6 and EL5 (though of course the py3 ones make no sense there). I'll go ahead and request EL5 and EL6 branches so that we can at least play with them. Perhaps the python3 macros can make it into the python34 EPEL package? That wouldn't help python2 packaging, though. The idea is that we can somewhat standardize python packaging across releases. We could, of course, put the py3-related macros in the EPEL7 python3 packages. epel-rpm-macros-7-2 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/epel-rpm-macros-7-2 I went ahead and added these as above ^ Please look things over and see if we need any changes/additions/corrections. Package epel-rpm-macros-7-2: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing epel-rpm-macros-7-2' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-7485/epel-rpm-macros-7-2 then log in and leave karma (feedback). epel-rpm-macros-7-2 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. There is a missing closing bracket. http://pkgs.fedoraproject.org/cgit/epel-rpm-macros.git/tree/macros.epel-rpm-macros?h=epel7&id=9588847dbccb3729b48ed90979eca5c9ccb6d8cd#n73 %py2_install() %{expand:\ CFLAGS="%{optflags}" %{__python2} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?1}\ Every rpm/yum/dnf command I run on my system results in this error. error: Macro %py2_install has unterminated body epel-rpm-macros-7-3 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/epel-rpm-macros-7-3 epel-rpm-macros-7-3 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update epel-rpm-macros'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/epel-rpm-macros-7-3 epel-rpm-macros-7-3 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. Created attachment 1079196 [details]
Fixes to the python_provide macro
Attached is a patch to update the %python_provide macros to the latest Fedora's one, which contains a couple of fixes:
- Use epoch in the version
- Obsolete the previous default python package in addition to providing it
- Fix the std python provide parsing
epel-rpm-macros-7-4 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-e66a3acdcb epel-rpm-macros-7-4 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'yum --enablerepo=epel-testing update epel-rpm-macros' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-e66a3acdcb epel-rpm-macros-7-4 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. |