Bug 1244475 - mock.spec broken (Invalid version)
Summary: mock.spec broken (Invalid version)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-19 04:56 UTC by Ralf Corsepius
Modified: 2015-08-18 05:24 UTC (History)
6 users (show)

Fixed In Version: mock-1.2.12-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-03 04:28:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ralf Corsepius 2015-07-19 04:56:38 UTC
Description of problem:

mock.spec contains this:
...
Requires: yum >= yum-3.4.3-505
...

This is broken.

Rpmbuild even warns about it.
# rpmbuild -bs  mock.spec
warning: line 36: Invalid version (double separator '-'): yum-3.4.3-505: Requires: yum >= yum-3.4.3-505


You want:
Requires: yum >= 3.4.3-505


Version-Release number of selected component (if applicable):
All mock package versions on all Fedoras (21, 22, 23, 24)

It has runtime effects on Fedora > 21, where the broken comparision is transferred into the binary rpms as:

# rpm -q --requires mock
...
yum >= yum-3.4.3-505
...

Comment 1 Miroslav Suchý 2015-07-22 12:07:11 UTC
Fixed in commit
* b96bc53 correctly specify requires of yum [RHBZ#1244475]

Comment 2 Fedora Update System 2015-07-23 19:51:02 UTC
mock-1.2.12-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/mock-1.2.12-1.fc21

Comment 3 Fedora Update System 2015-07-23 19:51:18 UTC
mock-1.2.12-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/mock-1.2.12-1.fc22

Comment 4 Fedora Update System 2015-07-23 19:51:30 UTC
mock-1.2.12-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.2.12-1.el6

Comment 5 Fedora Update System 2015-07-23 19:51:44 UTC
mock-1.2.12-1.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/mock-1.2.12-1.el7

Comment 6 Fedora Update System 2015-07-27 23:11:26 UTC
Package mock-1.2.12-1.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mock-1.2.12-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-7359/mock-1.2.12-1.el6
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-08-03 04:28:54 UTC
mock-1.2.12-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-08-17 19:03:52 UTC
mock-1.2.12-1.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 9 Fedora Update System 2015-08-17 19:08:22 UTC
mock-1.2.12-1.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-08-18 05:24:25 UTC
mock-1.2.12-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.