Move util-linux requirement to xfs_scrub subpackage

This commit is contained in:
Eric Sandeen 2021-09-09 15:37:09 -05:00
parent da606bc091
commit 23de02eb91
1 changed files with 9 additions and 6 deletions

View File

@ -1,13 +1,12 @@
Summary: Utilities for managing the XFS filesystem Summary: Utilities for managing the XFS filesystem
Name: xfsprogs Name: xfsprogs
Version: 5.13.0 Version: 5.13.0
Release: 1%{?dist} Release: 2%{?dist}
License: GPL+ and LGPLv2+ License: GPL+ and LGPLv2+
URL: https://xfs.wiki.kernel.org URL: https://xfs.wiki.kernel.org
Source0: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz Source0: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
Source1: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.sign Source1: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.sign
Source2: https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/plain/keys/20AE1692E13DDEE0.asc Source2: https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/plain/keys/20AE1692E13DDEE0.asc
Requires: util-linux
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: libtool, gettext, libattr-devel, libuuid-devel BuildRequires: libtool, gettext, libattr-devel, libuuid-devel
@ -35,8 +34,8 @@ This implementation is on-disk compatible with the IRIX version
of XFS. of XFS.
%package devel %package devel
Summary: XFS filesystem-specific headers Summary: XFS filesystem-specific headers
Requires: xfsprogs = %{version}-%{release}, libuuid-devel Requires: xfsprogs = %{version}-%{release}, libuuid-devel
%description devel %description devel
xfsprogs-devel contains the header files needed to develop XFS xfsprogs-devel contains the header files needed to develop XFS
@ -47,8 +46,9 @@ filesystem-specific programs, If you install xfsprogs-devel, you'll
also want to install xfsprogs. also want to install xfsprogs.
%package xfs_scrub %package xfs_scrub
Summary: XFS filesystem online scrubbing utilities Summary: XFS filesystem online scrubbing utilities
Requires: xfsprogs = %{version}-%{release}, python3 Requires: xfsprogs = %{version}-%{release}, python3
Requires: util-linux
%description xfs_scrub %description xfs_scrub
xfs_scrub attempts to check and repair all metadata in a mounted XFS filesystem. xfs_scrub attempts to check and repair all metadata in a mounted XFS filesystem.
@ -125,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Thu Sep 09 2021 Eric Sandeen <sandeen@redhat.com> 5.13.0-2
- Move util-linux/lsblk requirement to scrub package
* Tue Aug 24 2021 Eric Sandeen <sandeen@redhat.com> 5.13.0-1 * Tue Aug 24 2021 Eric Sandeen <sandeen@redhat.com> 5.13.0-1
- New upstream release - New upstream release