Bug 1375246

Summary: v1.9.8 cannot be rebuilt in CentOS/Scientific Linux 7 due to the use of new macros
Product: [Fedora] Fedora Reporter: George Notaras <gnot>
Component: moinAssignee: Othman Madjoudj <athmanem>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: athmanem, ivazqueznet, vpvainio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: moin-1.9.8-2.el6 moin-1.9.8-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-04 15:46:48 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:

Description George Notaras 2016-09-12 14:22:15 UTC
Description of problem:

I tried to rebuild the 1.9.8 SRPM for CentOS 7, but it was not possible due to the use of some new python related macros in the SPEC file.

Finally, I managed to successfully rebuild the 1.9.8 package by using the SPEC file from the 1.9.7 SRPM and by changing version & release information in it.

It would be great if some checks were added in the SPEC file for older OSes.

Thanks in advance.

Comment 1 Othman Madjoudj 2016-09-15 19:38:34 UTC
I'll check it, however you can install epel-rpm-macros from EPEL which provide those python macros (on epel7 it pulls python-rpm-macros and python3-rpm-macros).

Comment 2 George Notaras 2016-09-16 22:03:12 UTC
Hi and thanks for your reply. I admit I was not aware of these packages. In that case I think no change of the SPEC file is necessary. Please feel free to close this bug report.

Comment 3 Fedora Update System 2016-09-17 12:59:20 UTC
moin-1.9.8-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-00042bb6d5

Comment 4 Othman Madjoudj 2016-09-17 13:00:37 UTC
Hi, fixed build issue on epel, I'll submit the builds soon.

Comment 5 Fedora Update System 2016-09-17 14:18:39 UTC
moin-1.9.8-2.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-3d6b7e84ad

Comment 6 Fedora Update System 2016-09-18 06:17:31 UTC
moin-1.9.8-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-00042bb6d5

Comment 7 Fedora Update System 2016-09-18 10:48:04 UTC
moin-1.9.8-2.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-3d6b7e84ad

Comment 8 George Notaras 2016-09-18 12:57:38 UTC
Excellent! I tested 1.9.8-2.el7 from epel-testing on CentOS 7 and it worked as expected. Also added a comment at:

  https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-00042bb6d5

As far as I'm concerned, this issue is fully resolved. Thank you!

Comment 9 Fedora Update System 2016-10-04 15:46:48 UTC
moin-1.9.8-2.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-10-04 16:20:18 UTC
moin-1.9.8-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.