Bug 820596

Summary: Add possibility to pass rpm custom flags to fedpkg local
Product: [Fedora] Fedora Reporter: Helio Chissini de Castro <helio>
Component: fedpkgAssignee: cqi
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: dtardon, ilyes.gouta, rjones
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpkg-1.54-1.fc28,rpkg-1.54-1.fc27 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-19 15:31:21 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:

Description Helio Chissini de Castro 2012-05-10 12:48:54 UTC
Fedpkg local is very useful to test build packages, but it lacks rpm ability to have extra rpm flags.

And local example is Audacity package, that by default doesn't comes compiled with mp3 support, and to rebuild package a --with mp3 is required to pass to rpmbuild. Fedpkg local could have same capability to receive --with arguments.

Comment 1 Fedora Admin XMLRPC Client 2012-11-30 18:27:21 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Ilyes Gouta 2013-03-03 16:19:58 UTC
Hi,

Has this feature been implemented, or is there any other way for passing rpm options to fedpkg local?

Regards,
Ilyes

Comment 3 Fedora End Of Life 2013-04-03 14:32:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 4 Richard W.M. Jones 2013-12-31 15:28:55 UTC
(In reply to Ilyes Gouta from comment #2)
> Hi,
> 
> Has this feature been implemented, or is there any other way for passing rpm
> options to fedpkg local?

No.  The clumsy workaround is to do something like:

fedpkg srpm
rpmbuild --rebuild --with mp3 `fedpkg verrel`.src.rpm

Comment 5 Fedora Admin XMLRPC Client 2017-02-21 16:41:18 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 cqi 2017-03-02 02:17:07 UTC
Belongs to Milestone 1.30[1]

[1] https://pagure.io/fedpkg/roadmap?status=Open&no_stones=&milestone=1.30

Comment 7 cqi 2018-08-19 15:27:16 UTC
Please try latest version of fedpkg and python2-rpkg. local command has options --with and --without.