Bug 1090073

Summary: Post scriptlet fails due to RHEL version string
Product: [Fedora] Fedora EPEL Reporter: Michael Cronenworth <mike>
Component: mockAssignee: Miroslav Suchý <msuchy>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: lfarkas, mattiasr, mebrown, msuchy, williams
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mock-1.1.41-3.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-01 22:23:14 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:
Attachments:
Description Flags
rpm post scriptlet patch
none
patch against msuchy-work branch none

Description Michael Cronenworth 2014-04-22 13:44:34 UTC
Created attachment 888511 [details]
rpm post scriptlet patch

Description of problem:
The post scriptlet cannot create a /etc/mock/default.cfg symlink due to a string issue. The redhat-release package uses "5Server" or "6Server" for the version instead of only a number as in Fedora.


Version-Release number of selected component (if applicable):
mock-1.1.38-1.el6.noarch


The attached patch will fix the issue by stripping off Server.

Comment 1 Michael Cronenworth 2014-04-22 16:42:51 UTC
*** Bug 1052181 has been marked as a duplicate of this bug. ***

Comment 2 Michael Cronenworth 2014-05-22 14:45:56 UTC
*** Bug 1098477 has been marked as a duplicate of this bug. ***

Comment 3 Michael Cronenworth 2014-05-22 15:07:32 UTC
Created attachment 898409 [details]
patch against msuchy-work branch

Here's an updated patch that will apply against the msuchy-work branch (if this helps).

Comment 4 Miroslav Suchý 2014-05-23 07:59:05 UTC
Could not be as well 5Workstation? I would replace your substitution by
  grep -o '[0-9]\+'
which would just extract the number(s).

Comment 5 Miroslav Suchý 2014-05-23 08:02:01 UTC
Committed as 5b247f2

Comment 6 Fedora Update System 2014-05-27 15:39:37 UTC
mock-1.1.39-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc19

Comment 7 Fedora Update System 2014-05-27 15:39:52 UTC
mock-1.1.39-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.39-1.el6

Comment 8 Fedora Update System 2014-05-27 15:40:08 UTC
mock-1.1.39-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mock-1.1.39-1.fc20

Comment 9 Michael Cronenworth 2014-05-27 15:42:40 UTC
(In reply to Miroslav Suchý from comment #4)
> Could not be as well 5Workstation? I would replace your substitution by
>   grep -o '[0-9]\+'
> which would just extract the number(s).

Yes, sorry for the delay. Thanks for the update.

Comment 10 Fedora Update System 2014-05-27 19:12:07 UTC
Package mock-1.1.39-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.1.39-1.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1506/mock-1.1.39-1.el6
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2014-06-01 22:23:14 UTC
mock-1.1.39-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-06-25 20:00:31 UTC
mock-1.1.39-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 13 Fedora Update System 2014-07-18 02:13:35 UTC
mock-1.1.40-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc20

Comment 14 Fedora Update System 2014-07-18 02:14:00 UTC
mock-1.1.40-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mock-1.1.40-2.fc19

Comment 15 Fedora Update System 2014-07-18 02:14:23 UTC
mock-1.1.40-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.40-2.el6

Comment 16 Fedora Update System 2014-07-18 17:45:42 UTC
mock-1.1.41-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc20

Comment 17 Fedora Update System 2014-07-18 17:46:08 UTC
mock-1.1.41-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mock-1.1.41-1.fc19

Comment 18 Fedora Update System 2014-07-18 17:46:33 UTC
mock-1.1.41-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.41-1.el6

Comment 19 Fedora Update System 2014-07-20 03:24:54 UTC
mock-1.1.41-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2014-07-22 18:08:14 UTC
mock-1.1.41-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 21 Fedora Update System 2014-09-16 16:47:11 UTC
mock-1.1.41-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mock-1.1.41-2.fc19

Comment 22 Fedora Update System 2014-09-30 09:00:27 UTC
mock-1.1.41-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/mock-1.1.41-3.fc19

Comment 23 Fedora Update System 2014-10-10 16:04:38 UTC
mock-1.1.41-3.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.