Bug 177078
| Summary: | rpy should explicitly depend on a specific version of R | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alex Lancaster <alex> |
| Component: | rpy | Assignee: | José Matos <jamatos> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4 | CC: | extras-qa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 0.4.6-6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-02-17 19:11:13 UTC | Type: | --- |
| 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: | 176763 | ||
| Bug Blocks: | |||
|
Description
Alex Lancaster
2006-01-06 01:26:13 UTC
This issue is fixed in 0.4.6-5. The dependency is set at build time using: Requires: R = %(R --version | head -n 1 | sed -e 's/.* \(.*\) .*/\1/') There is no need to fiddle with each release, it only requires to increase the release number, rebuild and that is it. :-) Thanks. That's this change, I guess: http://cvs.fedora.redhat.com/viewcvs/rpms/rpy/FC-4/rpy.spec?root=extras&r1=1.4&r2=1.5 I look forward to seeing it in the repositories soon. Once installed, I'll close this bug. Hopefully, it will work. ;-) I know that were issues with using scripts inside BuildRequires (e.g. the galeon RPM used to use something like this to encode the correct version of mozilla), but I guess it's OK with regular requires because the build system doesn't need to query them to find out which packages to install. I guess: "Error: could not make srpm for rpy-0_4_6-5_fc4 - output was: sh: R: command not found error: line 15: Version required: Requires: R = error: query of specfile rpy.spec failed, can't parse sh: R: command not found error: line 15: Version required: Requires: R = error: query of specfile rpy.spec failed, can't parse" from http://buildsys.fedoraproject.org/build-status/job.psp?uid=4554 means that it doesn't work. :-( At least not within mock. I guess the build system does query the Requires: before running rpm as well as the BuildRequires: Oh well, back to hard-coding then. Now that rpy-0.4.6-6 is built and installed, closing bug. |