Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPEC file in version 1.13.1 references version 1.4; unable to build RPM from source #500

commandline-johnny opened this issue Jun 9, 2021 · 1 comment


Copy link

Describe the bug
rpmbuild -ta ./unbound-1.13.1.tar.gz fails because SPEC file references version 1.4 instead of 1.13.1. Updating SPEC file with version results in further errors.

To reproduce
Steps to reproduce the behavior:

  1. Download unbound-1.13.1.tar.gz from nlnetlabs website
  2. Run `rpmbuild -ta unbound-1.13.1.tar.gz

Expected behavior
rpmbuild should build binary RPM from source


  • Unbound version: 1.13.1
  • OS: CentOS 7
Copy link

The spec files that are actually used by distros are maintained by themselves, these files are examples that have been contributed. There is contrib/unbound.spec and contrib/unbound.spec_fedora.

These are the fixes to the unbound.spec file so that it works with 1.13.1. It fixes the errors that rpmbuild reports.

- ldns and ldns-devel no longer required. Fixed date. Version to 1.13.1.
- Removed symlink %attr mode, made unbound.conf symlink relative.
- Added pkgconfig/libunbound.pc to the packaged files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants