Hi Dne Wed, 8 May 2013 20:52:48 +0200 J G <joris.gilli...@gmail.com> napsal(a):
> I recently upgraded rpm from 4.10.0-5+deb7u1 to 4.10.1-2.1 as it became > available in testing. > It appears that option "--specfile" is no longer recognised, while it is > present in the man page. > > In python2.7's distutils, the following command is executed: > $ rpm -q --qf '%{name}-%{version}-%{release}.src.rpm > %{arch}/%{name}-%{version}-%{release}.%{arch}.rpm\\n' --specfile > 'build/bdist.linux-x86_64/rpm/SPECS/casadi.spec' > > As of 4.10.1-2.1, this fails with the message 'rpm: --specfile: unknown > option'. For me given command line works just fine with 4.10.1-2.1: $ rpm -q --qf '%{name}-%{version}-%{release}.src.rpm %{arch}/%{name}-%{version}-%{release}.%{arch}.rpm\n' --specfile ./tests/data/SPECS/deptest.spec deptest-%{pkg}-1.0-1.src.rpm noarch/deptest-%{pkg}-1.0-1.noarch.rpm What versions of rpm libraries do you have installed? dpkg -l '*rpm*' -- Michal Čihař | http://cihar.com | http://blog.cihar.com
signature.asc
Description: PGP signature