Bug 22346 - add_changelog should pass additional rpm args to rpm -qf
Summary: add_changelog should pass additional rpm args to rpm -qf
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 05:50 MSK by Sir Raorn
Modified: 2011-04-01 21:00 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.