rpmspec: -i: unknown option

David Abdurachmanov david.abd at gmail.com
Thu Nov 29 21:28:04 UTC 2012


Hi,

I have updated from RPM 4.8.X to 4.10.1.

My scripts used to get not yet build package information with the following command:

rpm -qi --specfile /build/tmp/tmpspec-gcc --define "A 1" --define "B 1"

It worked fine on 4.8.X, yet with 4.10.1, I get the following error:

rpmspec: -i: unknown option

Yet doing:

rpm -q --info --specfile /build/tmp/tmpspec-gcc --define "A 1" --define "B 1"

works on 4.10.1 and 4.8.X

According to the man page:

.SS "query-options"
.PP


 [\fB--changelog\fR] [\fB-c,--configfiles\fR] [\fB--conflicts\fR]
 [\fB-d,--docfiles\fR] [\fB--dump\fR] [\fB--filesbypkg\fR] [\fB-i,--info\fR]

--info === -i

Could someone explain why the behavior has changed?

Thanks,
David


More information about the Rpm-list mailing list