Red Hat Bugzilla – Bug 1274837
speexdsp RPM doesn't build with current spec file
Last modified: 2015-10-31 22:29:14 EDT
Created attachment 1085862 [details]
Change to speexdsp.spec that results in successful build.
Description of problem:
When building speexdsp, it fails due to a missing include line in the spec file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. fedpkg clone -a speexdsp
2. cd speexdsp
3. fedpkg sources
4. fedpkg prep
5. fedpkg local
Processing files: speexdsp-debuginfo-1.2-0.6.rc3.fc24.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/speexdsp-1.2-0.6.rc3.fc24.x86_64
error: Installed (but unpackaged) file(s) found:
Not that :) Should result in successful build of RPMs.
Patch added that fixes the issue.
speexdsp-1.2-0.7.rc3.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-bf7b330674
Unfortunately the modification to my patch doesn't result in the required changes. The %doc line probably needs to be speexdsp/manual.pdf, not doc/manual.pdf. Thanks!
(In reply to Leif Madsen from comment #2)
> Unfortunately the modification to my patch doesn't result in the required
> changes. The %doc line probably needs to be speexdsp/manual.pdf, not
> doc/manual.pdf. Thanks!
After talking to Jared, I'm wrong here. We actually need a combination of the change Jared made, and the original change I made to add the manual.pdf to the build.
Reason being that the Makefile in speexdsp installs the manual.pdf, so the RPM bitches that it isn't being included (at least on the version of rpmbuild that ships with CentOS 6).
Fixed with my latest commit -- should now build on Fedora rawhide and F23, in addition to EPEL6/EPEL7.
speexdsp-1.2-0.7.rc3.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update speexdsp'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-bf7b330674
speexdsp-1.2-0.7.rc3.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.