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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.