[libvirt] [python PATCH] spec: Reorganize to satisfy buggy spectool

Daniel P. Berrange berrange at redhat.com
Tue Jul 29 14:33:53 UTC 2014


On Tue, Jul 29, 2014 at 04:32:12PM +0200, Jiri Denemark wrote:
> From: Jiri Denemark <Jiri.Denemark at gmail.com>
> 
> spectool parses a specfile and strips everything but a preamble.
> However, if the first section is preceded by %if clause, it keeps it
> there which then makes rpmbuild complain about unmatched %if. Let's make
> the buggy tool happy by moving sections around so that the first one is
> not in any conditional.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  libvirt-python.spec.in | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list