I tried to manually execute the test case and found that verifying conflicta
and conflictb alone was as expected.
```
[root@localhost testing]#
FAKECHROOT_BASE=/root/rpmbuild/BUILD/rpm-4.18.0/tests/rpmtests.dir/363/testing
fakechroot rpm --define "_buildhost testhost" --define "_topdir /build"
--noplugins --nouserns -U --ignoreos
/build/RPMS/noarch/conflicta-1.0-1.noarch.rpm
[root@localhost testing]#
FAKECHROOT_BASE=/root/rpmbuild/BUILD/rpm-4.18.0/tests/rpmtests.dir/363/testing
fakechroot rpm --define "_buildhost testhost" --define "_topdir /build"
--noplugins --nouserns -U --ignoreos --force
/build/RPMS/noarch/conflictb-1.0-1.noarch.rpm
[root@localhost testing]#
FAKECHROOT_BASE=/root/rpmbuild/BUILD/rpm-4.18.0/tests/rpmtests.dir/363/testing
fakechroot rpm --define "_buildhost testhost" --define "_topdir /build"
--noplugins --nouserns -Vav --nogroup --nouser conflicta
......... /usr/share/my.version (replaced)
[root@localhost testing]#
FAKECHROOT_BASE=/root/rpmbuild/BUILD/rpm-4.18.0/tests/rpmtests.dir/363/testing
fakechroot rpm --define "_buildhost testhost" --define "_topdir /build"
--noplugins --nouserns -Vav --nogroup --nouser conflictb
......... /usr/share/my.version
```
In addition, I found that the result of "-V conflicta conflictb" is the same as
that of "-V conflictb conflicta", which I think may mislead the user about the
mapping between the output and the rpm package.
```
[root@localhost testing]#
FAKECHROOT_BASE=/root/rpmbuild/BUILD/rpm-4.18.0/tests/rpmtests.dir/363/testing
fakechroot rpm --define "_buildhost testhost" --define "_topdir /build"
--noplugins --nouserns -Vav --nogroup --nouser conflicta conflictb
......... /usr/share/my.version
......... /usr/share/my.version (replaced)
[root@localhost testing]#
FAKECHROOT_BASE=/root/rpmbuild/BUILD/rpm-4.18.0/tests/rpmtests.dir/363/testing
fakechroot rpm --define "_buildhost testhost" --define "_topdir /build"
--noplugins --nouserns -Vav --nogroup --nouser conflictb conflicta
......... /usr/share/my.version
......... /usr/share/my.version (replaced)
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2376#issuecomment-1409644223
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2376/1409644...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint