Bug 1440759

Summary: Add build-condition for skipping optional tests
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-Software-LicenseAssignee: Petr Pisar <ppisar>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: berrange, iarnell, paul, perl-devel, tremble
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-10 14:39:18 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:
Attachments:
Description Flags
Fix none

Description Petr Pisar 2017-04-10 12:37:21 UTC
Created attachment 1270486 [details]
Fix

If you follow Fedora devel list, you know about Modularity. Modularity is
about packaging larger pieces of Fedora packages together while starting with
a minimal system.

To package perl-Module-Build, I need perl-Software-License that has an optional test that requires Software::License::CCpack and I consider Software::License::CCpack with it's own depencies too far from base perl Modularity-module.

Therefore I need to disable the optional tests in perl-Software-License package. See attached patch that implements in a way that does not affect traditional Fedora while allows me to build perl as a module.

Please apply. If you don't have time to deal with this, I can do it instead of you.

Comment 1 Daniel Berrangé 2017-04-10 13:10:54 UTC
Sounds fine - just go ahead and do the change directly yourself since you've prepared it already.

Comment 2 Petr Pisar 2017-04-10 14:39:18 UTC
Thanks. I applied the patch.