Bug 22346

Summary: add_changelog should pass additional rpm args to rpm -qf
Product: Sisyphus Reporter: Sir Raorn <raorn>
Component: rpm-utilsAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: at, glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Sir Raorn 2009-11-20 05:50:41 MSK
It is impossible to do something like
add_changelog -a '--define="php5_version 5.2.5" --define="php5_release alt1.M41.3"' -e '- Rebuilt with php5 5.2.5-alt1.M41.3' php5-*/*.spec
without php5-devel isntalled since rpm args are passed only to stamper.
Comment 1 Dmitry V. Levin 2009-11-20 12:09:24 MSK
The code in this package is old and somewhat dirty, but patches are welcome, though.
Comment 2 Repository Robot 2011-04-01 21:00:22 MSK
rpm-utils-0.9.13-alt1 -> sisyphus:

* Fri Apr 01 2011 Dmitry V. Levin <ldv@altlinux> 0.9.13-alt1
- cleanup_spec: strip -q from %setup (closes: #25011).
- add_changelog: pass --args to all "rpm -q --qf" invocations (closes: #22346).
- buildreq: added --no-pruned option, enabled --pruned y default.
- stamp_spec, add_changelog, packagereq, buildreq: fixed quoting
  using shell-quote.