]> xenbits.xensource.com Git - libvirt.git/commit
rpm: Simplify expression of supported platforms
authorNeal Gompa <ngompa13@gmail.com>
Thu, 7 Jan 2021 14:58:08 +0000 (09:58 -0500)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 7 Jan 2021 17:34:31 +0000 (18:34 +0100)
commit0a28ea6f596e674b7d77292d4152850c5bb1df5a
treeeb069f849c8b59ca5cf245a8daf12b6a7a39bef7
parenta42adc27147428e37845eb0bacbb033b63ac5953
rpm: Simplify expression of supported platforms

Stanzas like "0%{?fedora} && 0%{?fedora} >= %{min_fedora}" contain
redundant definitions, as "0%{?fedora} >= %{min_fedora}" implies that
"%fedora" is defined and has a value. Thus, we can simplify this.

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
libvirt.spec.in