Consistent use of whitespace

Remove double line whitespace between %package and %description.
Also remove whitespace lines within %package sections.

Double line whitespace is kept between subpackages for visual clarity.
This commit is contained in:
Richard W.M. Jones 2021-11-04 09:12:05 +00:00
parent 048b8de83c
commit 9fbfa6cc49

View File

@ -188,7 +188,6 @@ reading the nbdkit(1) and nbdkit-plugin(3) manual pages.
%package server
Summary: The %{name} server
License: BSD
Provides: %{name}-null-plugin = %{version}-%{release}
%description server
@ -201,7 +200,6 @@ the metapackage "nbdkit".
%package basic-plugins
Summary: Basic plugins for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Provides: %{name}-data-plugin = %{version}-%{release}
Provides: %{name}-eval-plugin = %{version}-%{release}
@ -259,14 +257,12 @@ nbdkit-zero-plugin Zero-length plugin for testing.
%package example-plugins
Summary: Example plugins for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%if !0%{?rhel}
# example4 is written in Perl.
Requires: %{name}-perl-plugin
%endif
%description example-plugins
This package contains example plugins for %{name}.
@ -278,12 +274,10 @@ This package contains example plugins for %{name}.
%package cc-plugin
Summary: Write small inline C plugins and scripts for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: gcc
Requires: %{_bindir}/cat
%description cc-plugin
This package contains support for writing inline C plugins and scripts
for %{name}. NOTE this is NOT the right package for writing plugins
@ -295,12 +289,10 @@ in C, install %{name}-devel for that.
%package cdi-plugin
Summary: Containerized Data Import plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: jq
Requires: podman
%description cdi-plugin
This package contains Containerized Data Import support for %{name}.
%endif
@ -309,10 +301,8 @@ This package contains Containerized Data Import support for %{name}.
%package curl-plugin
Summary: HTTP/FTP (cURL) plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description curl-plugin
This package contains cURL (HTTP/FTP) support for %{name}.
@ -321,10 +311,8 @@ This package contains cURL (HTTP/FTP) support for %{name}.
%package guestfs-plugin
Summary: libguestfs plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description guestfs-plugin
This package is a libguestfs plugin for %{name}.
%endif
@ -334,11 +322,9 @@ This package is a libguestfs plugin for %{name}.
%package iso-plugin
Summary: Virtual ISO 9660 plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: xorriso
%description iso-plugin
This package is a virtual ISO 9660 (CD-ROM) plugin for %{name}.
%endif
@ -348,10 +334,8 @@ This package is a virtual ISO 9660 (CD-ROM) plugin for %{name}.
%package libvirt-plugin
Summary: Libvirt plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description libvirt-plugin
This package is a libvirt plugin for %{name}. It lets you access
libvirt guest disks readonly. It is implemented using the libvirt
@ -362,12 +346,10 @@ virDomainBlockPeek API.
%package linuxdisk-plugin
Summary: Virtual Linux disk plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
# for mke2fs
Requires: e2fsprogs
%description linuxdisk-plugin
This package is a virtual Linux disk plugin for %{name}.
@ -376,10 +358,8 @@ This package is a virtual Linux disk plugin for %{name}.
%package lua-plugin
Summary: Lua plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description lua-plugin
This package lets you write Lua plugins for %{name}.
%endif
@ -388,10 +368,8 @@ This package lets you write Lua plugins for %{name}.
%package nbd-plugin
Summary: NBD proxy / forward plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description nbd-plugin
This package lets you forward NBD connections from %{name}
to another NBD server.
@ -401,10 +379,8 @@ to another NBD server.
%package ocaml-plugin
Summary: OCaml plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description ocaml-plugin
This package lets you run OCaml plugins for %{name}.
@ -415,11 +391,9 @@ To compile OCaml plugins you will also need to install
%package ocaml-plugin-devel
Summary: OCaml development environment for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: %{name}-ocaml-plugin%{?_isa} = %{version}-%{release}
%description ocaml-plugin-devel
This package lets you write OCaml plugins for %{name}.
%endif
@ -429,10 +403,8 @@ This package lets you write OCaml plugins for %{name}.
%package perl-plugin
Summary: Perl plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description perl-plugin
This package lets you write Perl plugins for %{name}.
%endif
@ -441,10 +413,8 @@ This package lets you write Perl plugins for %{name}.
%package python-plugin
Summary: Python 3 plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description python-plugin
This package lets you write Python 3 plugins for %{name}.
@ -453,10 +423,8 @@ This package lets you write Python 3 plugins for %{name}.
%package ruby-plugin
Summary: Ruby plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description ruby-plugin
This package lets you write Ruby plugins for %{name}.
%endif
@ -468,12 +436,10 @@ This package lets you write Ruby plugins for %{name}.
%package S3-plugin
Summary: Amazon S3 and Ceph plugin for %{name}
License: BSD
Requires: %{name}-python-plugin >= 1.22
# XXX Should not need to add this.
Requires: python3-boto3
%description S3-plugin
This package lets you open disk images stored in Amazon S3
or Ceph using %{name}.
@ -483,10 +449,8 @@ or Ceph using %{name}.
%package ssh-plugin
Summary: SSH plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description ssh-plugin
This package contains SSH support for %{name}.
@ -495,10 +459,8 @@ This package contains SSH support for %{name}.
%package tcl-plugin
Summary: Tcl plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description tcl-plugin
This package lets you write Tcl plugins for %{name}.
%endif
@ -507,7 +469,6 @@ This package lets you write Tcl plugins for %{name}.
%package tmpdisk-plugin
Summary: Remote temporary filesystem disk plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
# For mkfs and mke2fs (defaults).
Requires: util-linux, e2fsprogs
@ -517,7 +478,6 @@ Suggests: xfsprogs
Suggests: ntfsprogs, dosfstools
%endif
%description tmpdisk-plugin
This package is a remote temporary filesystem disk plugin for %{name}.
@ -526,10 +486,8 @@ This package is a remote temporary filesystem disk plugin for %{name}.
%package torrent-plugin
Summary: BitTorrent plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description torrent-plugin
This package is a BitTorrent plugin for %{name}.
%endif
@ -539,12 +497,10 @@ This package is a BitTorrent plugin for %{name}.
%package vddk-plugin
Summary: VMware VDDK plugin for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
# https://bugzilla.redhat.com/show_bug.cgi?id=1931818
Requires: libxcrypt-compat
%description vddk-plugin
This package is a plugin for %{name} which connects to
VMware VDDK for accessing VMware disks and servers.
@ -554,7 +510,6 @@ VMware VDDK for accessing VMware disks and servers.
%package basic-filters
Summary: Basic filters for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Provides: %{name}-blocksize-filter = %{version}-%{release}
Provides: %{name}-cache-filter = %{version}-%{release}
@ -590,7 +545,6 @@ Provides: %{name}-swab-filter = %{version}-%{release}
Provides: %{name}-tls-fallback-filter = %{version}-%{release}
Provides: %{name}-truncate-filter = %{version}-%{release}
%description basic-filters
This package contains filters for %{name} which only depend on simple
C libraries: glibc, gnutls. Other filters for nbdkit with more
@ -667,10 +621,8 @@ nbdkit-truncate-filter Truncate, expand, round up or round down size.
%package ext2-filter
Summary: ext2, ext3 and ext4 filesystem support for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description ext2-filter
This package contains ext2, ext3 and ext4 filesystem support for
%{name}.
@ -680,10 +632,8 @@ This package contains ext2, ext3 and ext4 filesystem support for
%package gzip-filter
Summary: GZip filter for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description gzip-filter
This package is a gzip filter for %{name}.
@ -691,13 +641,10 @@ This package is a gzip filter for %{name}.
%package tar-filter
Summary: Tar archive filter for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: tar
Obsoletes: %{name}-tar-plugin < 1.23.9-3
%description tar-filter
This package is a tar archive filter for %{name}.
@ -705,10 +652,8 @@ This package is a tar archive filter for %{name}.
%package xz-filter
Summary: XZ filter for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%description xz-filter
This package is the xz filter for %{name}.
@ -716,11 +661,9 @@ This package is the xz filter for %{name}.
%package devel
Summary: Development files and documentation for %{name}
License: BSD
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
This package contains development files and documentation
for %{name}. Install this package if you want to develop
@ -733,7 +676,6 @@ BuildArch: noarch
Requires: bash-completion >= 2.0
Requires: %{name}-server = %{version}-%{release}
%description bash-completion
Install this package if you want intelligent bash tab-completion
for %{name}.