rpmspec: -i: unknown option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux