Bug 1172952

Summary: %__scl_path broken
Product: Red Hat Enterprise Linux 7 Reporter: Jan Zeleny <jzeleny>
Component: scl-utilsAssignee: Ľuboš Kardoš <lkardos>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Zachar <lzachar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.1CC: bgollahe, drieden, jkurik, jorton, lkardos, lzachar, riehecky
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1186339 1196174 (view as bug list) Environment:
Last Closed: 2015-11-20 10:28:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1186339, 1196174    

Description Jan Zeleny 2014-12-11 07:51:02 UTC
This was originally reported by Panu Matilainen over the email:

"""
In short, scl-utils ships with a rather broken path pattern in its 
scl.attr file:

%__scl_path     %{?scl:^%{_scl_prefix}/.*$ || 
%{_root_sysconfdir}/rpm/macros.%{scl}-config$}

Regexes dont have '||' syntax for or-operator. That might fall through 
as a technically legal regex but it almost certainly does NOT do what 
you wanted it to do. In case of ghc similar pattern matched on every 
single file in every package.
"""

Comment 5 Jan Kurik 2015-11-20 10:28:49 UTC
This bug has been closed as CURRENTRELEASE due to delivery of the fix in a z-stream. As the component is not on ACL, the fix is currently included in y-stream as well.

For more information please see the zstream process documentation:
* https://engineering.redhat.com/trac/ZStream/attachment/wiki/WikiStart/Z-Stream_process_update_4.odp .