]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: improve rpm generation for distro backports
authorEric Blake <eblake@redhat.com>
Wed, 16 Mar 2011 17:50:44 +0000 (11:50 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 16 Mar 2011 17:56:00 +0000 (11:56 -0600)
commit80e6200f3210da0f43bc2f705bafbb7829954764
tree76a4b07af0c5343cc82c0e612cbc9d3fd624bb71
parent12775d9491f0d98de6eb4593be4cacfaff1c4e47
build: improve rpm generation for distro backports

When building for an older distro, it's convenient to just
tell rpmbuild to define dist (for example, to .el6_0), rather
than also remembering to define rhel to 6.

* libvirt.spec.in: Guess %{rhel} based on %{dist}.
Based on an idea by Jiri Denemark.
libvirt.spec.in