Accepting request 764370 from home:ailiopoulos:branches:filesystems

- split xfs scrubbing scripts and service files into a separate optional
  package, in order to avoid having python as a dependency in the main
  xfsprogs rpm (bsc#1157438).

- update to v5.4.0

OBS-URL: https://build.opensuse.org/request/show/764370
OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=87
This commit is contained in:
Luis Chamberlain 2020-01-15 19:09:05 +00:00 committed by Git OBS Bridge
parent 9524b82295
commit b04691ccfd
6 changed files with 109 additions and 38 deletions

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iQIcBAABAgAGBQJdzuQrAAoJECCuFpLhPd7gMKUP/iAblU1gO4qwHNYmusEK+wcA
qfw9DG3QOsFFWLJoFxRPrlsZUaxQ2nFqBiswwjebNX426mdITapoRZPzRXvgg4p2
54K2ibjx3ulJGy93MqeafPtUmTeXOIZli6q6V7HLYlH9yxZ0/a87y+MvqVEc5APn
aDyRjQGUxwR/SgsFGneeZSrrmTCuBXBTt656y0sVc/pKeXwdKDINpkZgWfkGRknH
C4eihzSzLSMtmF9AjeMaeazC4Lp4nj+E3UJ25VsIOsQUsu1+O3xw0rle5dhWKZeK
Vu8gkNv40bBD7mZaryGX2YXnfEeozYWnr5A/9vMsFmJ/tNJ4c4Hy9YomdM+9aHQ6
QBBc10gz/5sR4DJ12+Dg9amsn18gJCLLAX3whDlsvJTmQP+Gv4DDj8XfXR8YryMd
cZ5WkKFAw8HT5lB5MQvug0Heo4WKmJoS+uGkgojFRojRCOoZA3NUb+eP4LEHH5KK
1pi7UEJogevWPtR5N+nLEV+4yQ0jFjKXcwWqZw6hrlaVBAty+UhKonjGMcxvLP3n
7VtmDL9LMBDbD9VjjKswaXq7gq6z3FaEJK5Z0X/5zK6g6bPDx3r+1M8+9kuB4U7p
NTF1CLfRRb4qjWChqEnRxy+Dx3b//H+DkSh/9cJOHTrOhtKIijrqWQsk7KYGv5yM
7gOsqJYugaVVamgCTKSM
=rIzL
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b29a64d04ad81f1f121d4683deae0bbb928abd1c891fe766b2c4bcdf61ab09c1
size 1247636

17
xfsprogs-5.4.0.tar.sign Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAABAgAGBQJd/UIsAAoJECCuFpLhPd7gcKcQAITjHV5EhAON18Q2OebzNDN8
+Y15LQQhEHFRE4xpFg4YhwwLoLpMdGbkrYKyDlbYq+ZRBlfoKbXCCmmzEKsSE7pJ
rzWF4mUVLrPOijVoAS9vIsa882O140GNPvzDr412BK+pu098vfpdrbLmkW0TryBB
7rxGgHPXymwn6g3bOE8jb3iUqdWoixKv9AnBWWYlv1N+Rg0cizfA3c48I9P1Oz3/
1ts52NjiLL+7A2jF6D1Io2KE9Mkr+s9GYiqX0pn4XbZIrs2RBWnfHSd7aV0ZsUoD
xlSBHIK0vLg87M6XtvxYJvr0sNfb966TNg6ZoyOhf1XNAYsFWlQ2OOBfjgQGKtr/
9rGrJ+21lQkhYpzaaozi6miZD7vBeDS/9ZKaR/q5fXKEDmIOh/XnaqwHvVDdDJ3x
xkomYahScC1Qc7P/RR6yHUnhzKPWbpBD9tvHMXHH3IYqdegba9OoV0nBNNEvPRSb
Q8SS0hJ8iMEb0OkUQsWh3jiNX/nz+CIF8RYeRCII8cEOB7GcP8Jg2+X7sAVh17dx
1P1+R/u1SKLjj6YtYhOl+NRRwKb+aoijkCnsVoDi0+vxoGawIbI/GXSFtLpQkHCr
UBHsOsnMt8EBwJWQnU3Pq2WEYbgNk9LpAj1VFiW4WJXgdvF8ilRUEvD7ntd3tpSL
WdfpKu7uwdjucCxCeJzb
=TkUA
-----END PGP SIGNATURE-----

3
xfsprogs-5.4.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa9c3a50bbd9f1619bb42249106f83a22883b79a02de6606ce14afb2f807213f
size 1248688

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Tue Jan 14 15:37:43 UTC 2020 - Anthony Iliopoulos <ailiopoulos@suse.com>
- split xfs scrubbing scripts and service files into a separate optional
package, in order to avoid having python as a dependency in the main
xfsprogs rpm (bsc#1157438).
-------------------------------------------------------------------
Tue Jan 14 13:35:29 UTC 2020 - Anthony Iliopoulos <ailiopoulos@suse.com>
- update to v5.4.0:
* xfsprogs: Release v5.4.0
* xfsprogs: Release v5.4.0-rc1
* mkfs: tidy up discard notifications
* mkfs: Break block discard into chunks of 2 GB
* xfs_admin: enable online label getting and setting
* xfs_admin: support external log devices
* xfsprogs: add missing line feeds in libxfs/rdwr.c
* xfsprogs: remove stray libxfs whitespace
* xfsprogs: Release v5.4.0-rc0
* xfs: change the seconds fields in xfs_bulkstat to signed
* xfs: move local to extent inode logging into bmap helper
* xfs: remove broken error handling on failed attr sf to leaf change
* xfs: log the inode on directory sf to block format change
* xfs: remove unused flags arg from xfs_get_aghdr_buf()
* xfs: log proper length of superblock
* xfs: revert 1baa2800e62d ("xfs: remove the unused XFS_ALLOC_USERDATA flag")
* xfs: convert inode to extent format after extent merge due to shift
* xfs: define a flags field for the AG geometry ioctl structure
* xfs: add a xfs_valid_startblock helper
* xfs: remove the unused XFS_ALLOC_USERDATA flag
* xfs: allocate xattr buffer on demand
* xfs: consolidate attribute value copying
* xfs: move remote attr retrieval into xfs_attr3_leaf_getvalue
* xfs: remove unnecessary indenting from xfs_attr3_leaf_getvalue
* xfs: make attr lookup returns consistent
* xfs: reverse search directory freespace indexes
* xfs: speed up directory bestfree block scanning
* xfs: factor free block index lookup from xfs_dir2_node_addname_int()
* xfs: factor data block addition from xfs_dir2_node_addname_int()
* xfs: move xfs_dir2_addname()
* xfs: remove all *_ITER_CONTINUE values
* xfs: remove all *_ITER_ABORT values
* xfs: reinitialize rm_flags when unpacking an offset into an rmap irec
* xfs: remove unnecessary int returns from deferred bmap functions
* xfs: remove unnecessary int returns from deferred refcount functions
* xfs: remove unnecessary int returns from deferred rmap functions
* xfs: remove unnecessary parameter from xfs_iext_inc_seq
* xfs: fix sign handling problem in xfs_bmbt_diff_two_keys
* xfs: don't return _QUERY_ABORT from xfs_rmap_has_other_keys
* xfs: fix maxicount division by zero error
* xfs: remove excess function parameter description in 'xfs_btree_sblock_v5hdr_verify'
* xfs: add kmem allocation trace points
* fs: xfs: Remove KM_NOSLEEP and KM_SLEEP.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 05 00:53:15 UTC 2019 - seanlew@opensuse.org Thu Dec 05 00:53:15 UTC 2019 - seanlew@opensuse.org

View File

@ -26,12 +26,12 @@
%define libname libhandle1 %define libname libhandle1
Name: xfsprogs Name: xfsprogs
Version: 5.3.0 Version: 5.4.0
Release: 0 Release: 0
Summary: Utilities for managing the XFS file system Summary: Utilities for managing the XFS file system
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/Filesystems Group: System/Filesystems
URL: http://xfs.org URL: https://xfs.wiki.kernel.org/
Source0: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-%{version}.tar.xz Source0: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-%{version}.tar.xz
Source1: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-%{version}.tar.sign Source1: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/xfsprogs-%{version}.tar.sign
Source2: %{name}.keyring Source2: %{name}.keyring
@ -56,6 +56,7 @@ BuildRequires: suse-module-tools
%if %{with systemd} %if %{with systemd}
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
%endif %endif
Suggests: xfsprogs-scrub
%description %description
A set of commands to use the XFS file system, including mkfs.xfs. A set of commands to use the XFS file system, including mkfs.xfs.
@ -67,9 +68,9 @@ block sizes. It is extent based and makes extensive use of Btrees
(directories, extents, and free space) to aid both performance and (directories, extents, and free space) to aid both performance and
scalability. scalability.
Refer to the documentation at http://oss.sgi.com/projects/xfs/ for Refer to the documentation at https://xfs.wiki.kernel.org/ for complete
complete details. This implementation is on-disk compatible with the details. This implementation is on-disk compatible with the IRIX
IRIX version of XFS. version of XFS.
%package -n %{libname} %package -n %{libname}
Summary: XFS Filesystem-specific Shared library Summary: XFS Filesystem-specific Shared library
@ -97,6 +98,16 @@ You should install xfsprogs-devel if you want to develop XFS file
system-specific programs. If you install xfsprogs-devel, you will also system-specific programs. If you install xfsprogs-devel, you will also
want to install xfsprogs. want to install xfsprogs.
%package -n xfsprogs-scrub
Summary: XFS scrubbing scripts and service files
License: GPL-2.0-or-later
Group: System/Filesystems
Requires: xfsprogs
%description -n xfsprogs-scrub
Scripts and systemd service files for background scrubbing of metadata
on xfs filesystems.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
@ -138,16 +149,16 @@ install -m 0755 module-setup.sh %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
install -m 0644 %{SOURCE4} %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/ install -m 0644 %{SOURCE4} %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
%if %{with systemd} %if %{with systemd}
%pre %pre -n xfsprogs-scrub
%service_add_pre xfs_scrub_all.service xfs_scrub_all.timer %service_add_pre xfs_scrub_all.service xfs_scrub_all.timer
%post %post -n xfsprogs-scrub
%service_add_post xfs_scrub_all.service xfs_scrub_all.timer %service_add_post xfs_scrub_all.service xfs_scrub_all.timer
%preun %preun -n xfsprogs-scrub
%service_del_preun xfs_scrub_all.service xfs_scrub_all.timer %service_del_preun xfs_scrub_all.service xfs_scrub_all.timer
%postun %postun -n xfsprogs-scrub
%service_del_postun xfs_scrub_all.service xfs_scrub_all.timer %service_del_postun xfs_scrub_all.service xfs_scrub_all.timer
%endif %endif
@ -168,15 +179,7 @@ install -m 0644 %{SOURCE4} %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
/sbin/* /sbin/*
#EndUsrMerge #EndUsrMerge
%{_sbindir}/* %{_sbindir}/*
%dir %{_libdir}/xfsprogs/ %exclude %{_sbindir}/xfs_scrub_all
%{_libdir}/xfsprogs/xfs_scrub_all.cron
%if %{with systemd}
%{_libdir}/xfsprogs/xfs_scrub_fail
%{_unitdir}/xfs_scrub@.service
%{_unitdir}/xfs_scrub_all.service
%{_unitdir}/xfs_scrub_all.timer
%{_unitdir}/xfs_scrub_fail@.service
%endif
%{_mandir}/man[258]/* %{_mandir}/man[258]/*
%doc %{_defaultdocdir}/%{name} %doc %{_defaultdocdir}/%{name}
%if 0%{?suse_version} >= 1315 %if 0%{?suse_version} >= 1315
@ -201,4 +204,17 @@ install -m 0644 %{SOURCE4} %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
%{_libdir}/libhandle.so %{_libdir}/libhandle.so
%{_mandir}/man3/* %{_mandir}/man3/*
%files -n xfsprogs-scrub
%defattr(-,root,root,755)
%dir %{_libdir}/xfsprogs/
%{_libdir}/xfsprogs/xfs_scrub_all.cron
%{_sbindir}/xfs_scrub_all
%if %{with systemd}
%{_libdir}/xfsprogs/xfs_scrub_fail
%{_unitdir}/xfs_scrub@.service
%{_unitdir}/xfs_scrub_all.service
%{_unitdir}/xfs_scrub_all.timer
%{_unitdir}/xfs_scrub_fail@.service
%endif
%changelog %changelog