Bug 1109960
Summary: | RPM by `make bkradd` does not correspond to the git tag | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Alois Mahdal <amahdal> |
Component: | command line | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.17 | CC: | aigao, asaha, dcallagh, rmancy, xma |
Target Milestone: | 0.18 | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-27 06:52:31 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: |
Description
Alois Mahdal
2014-06-16 18:22:55 UTC
Relatvely easy and non-intrusive (unless the test repo is huge, I guess) workaround could be: Before starting to build RPM, clone the current repository to a temporary dir (note that you can use local path to `git clone` command) and cd to that path before collecting anything. On Gerrit: http://gerrit.beaker-project.org/3235 Slightly less intrusive steps to reproduce (doesn't require committing and tagging): 1. Clone a task repo, for example http://git.beaker-project.org/cgit/beaker-core-tasks 2. Modify Makefile, for example change a Requires field to have some wrong value 3. Build the task RPM: make rpm 4. Check the contents of testinfo.desc inside the built RPM: rpm2cpio ./beaker-distribution-install-1.12-1.noarch.rpm | cpio --extract --to-stdout ./mnt/tests/distribution/install/testinfo.desc Expected results: Output should *not* show the uncommitted modifications. Actual results: Output shows uncommitted modifications. rhts 4.64 has been released. |