Skip to content

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

Closed

Description

@commandline-johnny

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

System:

  • Unbound version: 1.13.1
  • OS: CentOS 7

Activity

  1. wcawijngaards commented on Jun 10, 2021

    @wcawijngaards
    Member

    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.
  2. added a commit that references this issue on Jan 26, 2024
    fd7caaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions