Bug 820596 - Add possibility to pass rpm custom flags to fedpkg local
Summary: Add possibility to pass rpm custom flags to fedpkg local
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fedpkg
Version: rawhide
Hardware: All
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: cqi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-10 12:48 UTC by Helio Chissini de Castro
Modified: 2018-08-19 15:31 UTC (History)
3 users (show)

Fixed In Version: rpkg-1.54-1.fc28,rpkg-1.54-1.fc27
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-19 15:31:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.