[PATCH 0/2] spec file cleanups

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

 



While working on recent tarball issues, I noticed the spec file
was hard to read.  In developing the second patch for my own
sanity, I found some cleanups that I separated out to the first
patch.  I don't know if you want to apply the second patch, and
even if you do, it might be nice if 'cppi' could be enhanced to
enforce indentation rules in spec files the same way it does
for preprocessor rules in .c files (maybe even by using a
judicious tr to turn %if into #if of a temporary file, so that
existing cppi could do it); without enforcement, I'm afraid the
second patch will be quickly fall back into hard-to-read status.

Eric Blake (2):
  spec: remove redundant %if
  spec: indent %if to make it easier to see conditions

 libvirt.spec.in | 864 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 428 insertions(+), 436 deletions(-)

-- 
1.8.0.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]