How to define dependency to SCL package in normal package

Solution Unverified - Updated -

Issue

  • I am trying to build a custom package with dependency to a SCL package, perl516-perl-BSD-Resource.
  • This custom package is not a SCL package.
  • I added the following line for dependency.
Requires:       %scl_require perl516-perl-BSD-Resource
  • But, I got the following error.
error: line 13: Dependency tokens must begin with alpha-numeric, '_' or '/': Requires:       %{_scl_prefix}/perl516-perl-BSD-Resource/enable, perl516-perl-BSD-Resource

Environment

Red Hat Enterprise Linux 7

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