Why does rpmbuild doesn't accept _topdir value declared through rpmrc file in Red Hat Enterprise Linux 7?

Solution Verified - Updated -

Issue

  • In Red Hat Enterprise Linux 7, rpmbuild doesn't accept value declared of _topdir through rpmrc file while building rpm, whereas the same works in Red Hat Enterprise Linux 5 as expected.
  • Is there any known issue with it?

Environment

  • Red Hat Enterprise Linux 7.x
  • rpm-build-4.11.3-25.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content