Bug 1077148
| Summary: | rpmbuild creates empty debuginfo when %_topdir ends with '/' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Hlavinka <mhlavink> |
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | jzeleny, novyjindrich, packaging-team-maint, pknirsch, pmatilai |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rpm-4.11.3-1.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-25 12:13: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: | |||
Fixed upstream now: http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=91456b1bb8e93deef683a9c40b1fe7f1de3da99e Doesn't seem worth specifically tracking for Fedora, it'll land here through updates sooner or later. Thanks for reporting though. rpm-4.11.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/rpm-4.11.3-1.fc20 rpm-4.11.3-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/rpm-4.11.3-1.fc19 rpm-4.11.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. rpm-4.11.3-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When used --define "%_toppdir <some_path>" where <some_path> ends with '/', resulting debuginfo package does not contain any source file. Version-Release number of selected component (if applicable): rpm-4.11.2-2.fc20.x86_64 How reproducible: always Steps to Reproduce: 1. fedpkg mpage #or any other package, this one compiles almost instantly 2. mkdir -p rpmbuild/{BUILD,SPECS,SOURCES,RPMS} 3. fedpkg sources 4. cp *patch *tgz rpmbuild/SOURCES/ 5. rpmbuild -ba "--define=%_topdir $(pwd)/rpmbuild/" *.spec Actual results: *-debuginfo pakcage contains *no* source files Expected results: *-debuginfo package with source files Additional info: does not work: rpmbuild -ba "--define=%_topdir $(pwd)/rpmbuild/" *.spec works fine: rpmbuild -ba "--define=%_topdir $(pwd)/rpmbuild" *.spec