Bug 436392
| Summary: | error in spec file, build fails when not using standard build directories | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karsten Hopp <karsten> |
| Component: | libsvm | Assignee: | Ding-Yi Chen <dchen> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 2.85-6.fc8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-07-30 20:03:20 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: | |||
cp lines in SPEC file are fixed. Thanks for pointing this out. libsvm-2.85-6.fc7 has been submitted as an update for Fedora 7 libsvm-2.85-6.fc8 has been submitted as an update for Fedora 8 looks ok now. Thanks ! libsvm-2.85-6.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: the libsvm spec file wrongly assumes that there's always a ../SOURCES directory and tries to copy files from there. This fails when you run rpmbuild like this: --define "_sourcedir $HOME/source/" or have it defined differently in your rpmrc. Version-Release number of selected component (if applicable): libsvm-2.85-3.fc9 Actual results: + cp ../../SOURCES/log ChangeLog cp: cannot stat `../../SOURCES/log': No such file or directory error: Bad exit status from /var/tmp/libsvm-2.85-3.fc9.src.rpm/rpm-tmp.33063 (%prep) Additional info: log and guide.pdf are already defined as Source1 and Source2, so you just need to change the cp commands to cp %{SOURCE1} ChangeLog cp %{SOURCE2} .