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