Bug 747551

Summary: Specfile cleanup
Product: [Fedora] Fedora Reporter: Grigory Batalov <g.batalov>
Component: perlAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: cweyl, iarnell, kasal, lkundrak, mmaslano, ppisar, psabata, rc040203, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-20 10:20:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch for the specfile none

Description Grigory Batalov 2011-10-20 09:31:46 UTC
Created attachment 529223 [details]
Patch for the specfile

Description of problem:
After rebuilding the package with mock I made two improvements in the specfile:

1) Module-Metadata sub-package contains %{privlib}/Module/Metadata.pm, but

%exclude %{perl_privlib}/Module/Metadata.pm

evaluates to system-wide perl path, not to perl being built

2) "%files parent" section is repeated twice

Version-Release number of selected component (if applicable):
perl-5.14.2-196.fc17

Comment 1 Marcela Mašláňová 2011-10-20 10:20:40 UTC
Thanks, I've noticed only the first one. I'll commit it into rawhide for now.