rhbz#1666839: Move Python utility into a separate sub-package
Signed-off-by: Sinny Kumari <sinny@redhat.com>
This commit is contained in:
parent
f5b02fdbd1
commit
0de8b529f3
|
@ -1,7 +1,7 @@
|
|||
Summary: Utilities for managing the XFS filesystem
|
||||
Name: xfsprogs
|
||||
Version: 4.20.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL+ and LGPLv2+
|
||||
URL: https://xfs.wiki.kernel.org
|
||||
Source0: http://kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz
|
||||
|
@ -14,6 +14,7 @@ Obsoletes: xfs-cmds <= %{version}
|
|||
Provides: xfsprogs-qa-devel
|
||||
Obsoletes: xfsprogs-qa-devel <= %{version}
|
||||
Conflicts: xfsdump < 3.0.1
|
||||
Suggests: python3-xfsprogs
|
||||
|
||||
%description
|
||||
A set of commands to use the XFS filesystem, including mkfs.xfs.
|
||||
|
@ -40,6 +41,13 @@ You should install xfsprogs-devel if you want to develop XFS
|
|||
filesystem-specific programs, If you install xfsprogs-devel, you'll
|
||||
also want to install xfsprogs.
|
||||
|
||||
%package -n python3-xfsprogs
|
||||
Summary: XFS utilities which requires Python3 at runtime
|
||||
Requires: xfsprogs = %{version}-%{release}, Python3
|
||||
|
||||
%description -n python3-xfsprogs
|
||||
XFS utilities which requires Python3 at runtime
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
@ -67,6 +75,12 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
|
|||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -n python3-xfsprogs
|
||||
%{_usr}/%{_lib}/xfsprogs/xfs_scrub_all.cron
|
||||
%{_mandir}/man8/xfs_scrub_all*
|
||||
%{_sbindir}/xfs_scrub_all
|
||||
%{_unitdir}/xfs_scrub_all*
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc doc/CHANGES README
|
||||
%{_libdir}/*.so.*
|
||||
|
@ -76,6 +90,10 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
|
|||
%{_mandir}/man8/*
|
||||
%{_sbindir}/*
|
||||
%{_unitdir}/*
|
||||
%exclude %{_usr}/%{_lib}/xfsprogs/xfs_scrub_all.cron
|
||||
%exclude %{_mandir}/man8/xfs_scrub_all*
|
||||
%exclude %{_sbindir}/xfs_scrub_all
|
||||
%exclude %{_unitdir}/xfs_scrub_all*
|
||||
|
||||
%files devel
|
||||
%{_mandir}/man2/*
|
||||
|
@ -96,6 +114,9 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/xfsprogs/
|
|||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Tue Feb 26 2019 Sinny Kumari <sinny@redhat.com> - 4.20.0-2
|
||||
- rhbz#1666839: Move Python utility into a separate sub-package
|
||||
|
||||
* Fri Feb 22 2019 Eric Sandeen <sandeen@redhat.com> 4.20.0-1
|
||||
- New upstream release
|
||||
|
||||
|
|
Loading…
Reference in New Issue