xfsprogs/xfsprogs.spec

205 lines
5.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package xfsprogs
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 495389 from home:jeff_mahoney:branches:filesystems - Update to 4.9.0 * xfs_quota: handle wrapped id from GETNEXTQUOTA * xfs_repair: don't indicate dirtiness if FSGEOMETRY fails * xfs_repair: junk leaf attribute if count == 0 * xfs_repair: fix some potential null pointer deferences * xfs_repair: fix bogus rmapbt record owner check * xfs.h: require transparent LFS for all users * xfs_io: Fix initial -m option * xfs_io: add command line option -i to start an idle thread * xfsprogs: Update FSF address in COPYING file * mkfs.xfs: format reflink enabled filesystems * xfs_repair: use thread pools to sort rmap data * xfs_repair: check for mergeable refcount records * xfs_repair: use range query when while checking rmaps * xfs_repair: check the CoW extent size hint * xfs_repair: complain about copy-on-write leftovers * xfs_repair: rebuild the refcount btree * xfs_repair: check the refcount btree against our observed reference counts when -n * xfs_repair: fix inode reflink flags * xfs_repair: record reflink inode state * xfs_repair: process reverse-mapping data into refcount data * xfs_repair: handle multiple owners of data blocks * xfs_repair: check the existing refcount btree * xfs_repair: fix get_agino_buf to avoid corrupting inodes * xfs_logprint: support bmap redo items * xfs_logprint: support refcount redo items * xfs_logprint: support cowextsize reporting in log contents * xfs_io: try to unshare copy-on-write blocks via fallocate * xfs_io: provide long-format help for falloc * xfs_io: support injecting the 'per-AG reservation critically low' error OBS-URL: https://build.opensuse.org/request/show/495389 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=47
2017-05-23 20:14:04 +02:00
%define _dracutmodulesdir %{_libexecdir}/dracut/modules.d
# make sure we use systemd services on products where it is available
%if 0%{?suse_version} >= 1210
%bcond_without systemd
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%else
%bcond_with systemd
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%endif
%define libname libhandle1
Name: xfsprogs
Version: 5.0.0
Release: 0
Summary: Utilities for managing the XFS file system
License: GPL-2.0-or-later
Group: System/Filesystems
URL: http://xfs.org
Accepting request 495389 from home:jeff_mahoney:branches:filesystems - Update to 4.9.0 * xfs_quota: handle wrapped id from GETNEXTQUOTA * xfs_repair: don't indicate dirtiness if FSGEOMETRY fails * xfs_repair: junk leaf attribute if count == 0 * xfs_repair: fix some potential null pointer deferences * xfs_repair: fix bogus rmapbt record owner check * xfs.h: require transparent LFS for all users * xfs_io: Fix initial -m option * xfs_io: add command line option -i to start an idle thread * xfsprogs: Update FSF address in COPYING file * mkfs.xfs: format reflink enabled filesystems * xfs_repair: use thread pools to sort rmap data * xfs_repair: check for mergeable refcount records * xfs_repair: use range query when while checking rmaps * xfs_repair: check the CoW extent size hint * xfs_repair: complain about copy-on-write leftovers * xfs_repair: rebuild the refcount btree * xfs_repair: check the refcount btree against our observed reference counts when -n * xfs_repair: fix inode reflink flags * xfs_repair: record reflink inode state * xfs_repair: process reverse-mapping data into refcount data * xfs_repair: handle multiple owners of data blocks * xfs_repair: check the existing refcount btree * xfs_repair: fix get_agino_buf to avoid corrupting inodes * xfs_logprint: support bmap redo items * xfs_logprint: support refcount redo items * xfs_logprint: support cowextsize reporting in log contents * xfs_io: try to unshare copy-on-write blocks via fallocate * xfs_io: provide long-format help for falloc * xfs_io: support injecting the 'per-AG reservation critically low' error OBS-URL: https://build.opensuse.org/request/show/495389 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=47
2017-05-23 20:14:04 +02:00
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
Source2: %{name}.keyring
Accepting request 495389 from home:jeff_mahoney:branches:filesystems - Update to 4.9.0 * xfs_quota: handle wrapped id from GETNEXTQUOTA * xfs_repair: don't indicate dirtiness if FSGEOMETRY fails * xfs_repair: junk leaf attribute if count == 0 * xfs_repair: fix some potential null pointer deferences * xfs_repair: fix bogus rmapbt record owner check * xfs.h: require transparent LFS for all users * xfs_io: Fix initial -m option * xfs_io: add command line option -i to start an idle thread * xfsprogs: Update FSF address in COPYING file * mkfs.xfs: format reflink enabled filesystems * xfs_repair: use thread pools to sort rmap data * xfs_repair: check for mergeable refcount records * xfs_repair: use range query when while checking rmaps * xfs_repair: check the CoW extent size hint * xfs_repair: complain about copy-on-write leftovers * xfs_repair: rebuild the refcount btree * xfs_repair: check the refcount btree against our observed reference counts when -n * xfs_repair: fix inode reflink flags * xfs_repair: record reflink inode state * xfs_repair: process reverse-mapping data into refcount data * xfs_repair: handle multiple owners of data blocks * xfs_repair: check the existing refcount btree * xfs_repair: fix get_agino_buf to avoid corrupting inodes * xfs_logprint: support bmap redo items * xfs_logprint: support refcount redo items * xfs_logprint: support cowextsize reporting in log contents * xfs_io: try to unshare copy-on-write blocks via fallocate * xfs_io: provide long-format help for falloc * xfs_io: support injecting the 'per-AG reservation critically low' error OBS-URL: https://build.opensuse.org/request/show/495389 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=47
2017-05-23 20:14:04 +02:00
Source3: module-setup.sh.in
Source4: dracut-fsck-help.txt
Patch0: xfsprogs-docdir.diff
Patch2: 0001-repair-shift-inode-back-into-place-if-corrupted-by-b.patch
Accepting request 542710 from home:jeff_mahoney:branches:filesystems - Fix building on SLE11 - Added xfs_io-stat-fix-typo-in-statfs-f_flags.patch - Added xfs_io-stat-treat-statfs.f_flags-as-optional.patch - Update to 4.13.1 * mkfs: don't overflow the subopts array - Update to 4.13.0 * xfs_repair: handle missing extent states * mkfs: pass a custom cowextsize into the created filesystem * xfs_db: version command misses RMAPBT feature string * xfs_repair: don't use do_warn for normal log message * libxfs: remove getcwd/chdir dance from initialization * xfs_repair: take the ag_lock before recording rmap for a bmbt record * mkfs.xfs: Don't stagger AG for a single disk * xfs: fix inobt inode allocation search optimization * xfs_io: clarify the fsmap documentation * fiemap: Fix semantics of max_extents (-n arguments) * xfs_repair: fix thread creation failure recovery * xfs_repair: add prefetch trace calls to debug thread creation failures * xfs_repair: clear pthread_t when pthread_create fails * xfs_io: add seek consistency checks * fsr: fix uninitialized fs usage after timeout * xfs_db: bit fuzzing should read the right bit when flipping * xfs_db: make write/fuzz -c and -d work on non-crc filesystems * xfs_db: free field list when failing out of fuzz * xfs_db: reset metadump output flag * xfs_db: btdump should avoid eval for push and pop of cursor * xfs_db: use TYP_F_CRC_FUNC for inodes & dquots * xfs_db: introduce fuzz command * xfs_db: write values into dir/attr blocks and recalculate CRCs OBS-URL: https://build.opensuse.org/request/show/542710 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=54
2017-11-17 21:03:23 +01:00
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libblkid-devel
BuildRequires: libuuid-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires(post): coreutils
# hint for ZYPP
Supplements: filesystem(xfs)
%if 0%{?suse_version} >= 1310
BuildRequires: suse-module-tools
%endif
%if %{with systemd}
BuildRequires: pkgconfig(systemd)
%endif
%description
A set of commands to use the XFS file system, including mkfs.xfs.
XFS is a high performance journaling file system which originated on
the SGI IRIX platform. It is completely multithreaded. It can support
large files and large file systems, extended attributes, and variable
block sizes. It is extent based and makes extensive use of Btrees
(directories, extents, and free space) to aid both performance and
scalability.
Refer to the documentation at http://oss.sgi.com/projects/xfs/ for
complete details. This implementation is on-disk compatible with the
IRIX version of XFS.
%package -n %{libname}
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
Summary: XFS Filesystem-specific Shared library
Group: Development/Libraries/C and C++
%description -n %{libname}
%{libname} contains the shared libraries needed by xfsprogs
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
to run xfsprogs programs.
%{libname} is always needed by xfsprogs. If you want to use this
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
library for your own new xfs tools install xfsprogs-devel.
%package devel
Summary: XFS Filesystem-specific Static Libraries and Headers
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
Requires: libuuid-devel
Requires: xfsprogs = %{version}
%description devel
xfsprogs-devel contains the libraries and header files needed to
develop XFS file system-specific programs.
You should install xfsprogs-devel if you want to develop XFS file
system-specific programs. If you install xfsprogs-devel, you will also
want to install xfsprogs.
%prep
%setup -q
Accepting request 558620 from home:mcgrof:branches:filesystems - Deletes already merged xfs_io-stat-fix-typo-in-statfs-f_flags.patch - Deletes already merged xfs_io-stat-treat-statfs.f_flags-as-optional.patch - Refreshes patch xfsprogs-docdir.diff - Update to v4.14.0: * xfs_io: stat: treat statfs.f_flags as optional * xfs_io: stat: fix typo in statfs->f_flags * xfsprogs: fix wrong variable types in pwrite/pread code * xfs_io: Allow partial writes * xfs_io: Add RWF_NOWAIT to pwritev2() * xfs_io: Add support for pwritev2() * xfs_io: Disable -V if pwritev is not available * xfs_repair: always release btree buffers when refcountbt checks fail * misc: fix ubsan warnings * misc: enable thread sanitizer if the builder wants it * misc: enable gcc/clang address sanitizer if the builder wants it * misc: enable ubsan if the builder wants it * xfs_repair: fix cowextsize field checking and repairing * xfs_repair: clear DAX flag from non-file inodes * xfs_repair: fix bag memory overwrite problems * xfs_io: add new error injection knobs to inject command * xfsprogs: explicitly cast troublesome types to match printf format specifiers * db: increase metadump's default overly long extent discard threshold * build: define _DEFAULT_SOURCE with _BSD_SOURCE for preadv * xfsprogs: add xfs_spaceman to .gitignore * xfs_io: report io error for pwrite -W and -w * xfs_metadump: zap stale data in DIR2_LEAF1 dirs * metadump: update manpage for dirty log/obfuscation issue * kill off u_int*_t types * xfs: trim writepage mapping to within eof * xfs: handle error if xfs_btree_get_bufs fails OBS-URL: https://build.opensuse.org/request/show/558620 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=57
2017-12-21 17:10:43 +01:00
%patch0 -p1
%patch2 -p1
%build
Accepting request 542710 from home:jeff_mahoney:branches:filesystems - Fix building on SLE11 - Added xfs_io-stat-fix-typo-in-statfs-f_flags.patch - Added xfs_io-stat-treat-statfs.f_flags-as-optional.patch - Update to 4.13.1 * mkfs: don't overflow the subopts array - Update to 4.13.0 * xfs_repair: handle missing extent states * mkfs: pass a custom cowextsize into the created filesystem * xfs_db: version command misses RMAPBT feature string * xfs_repair: don't use do_warn for normal log message * libxfs: remove getcwd/chdir dance from initialization * xfs_repair: take the ag_lock before recording rmap for a bmbt record * mkfs.xfs: Don't stagger AG for a single disk * xfs: fix inobt inode allocation search optimization * xfs_io: clarify the fsmap documentation * fiemap: Fix semantics of max_extents (-n arguments) * xfs_repair: fix thread creation failure recovery * xfs_repair: add prefetch trace calls to debug thread creation failures * xfs_repair: clear pthread_t when pthread_create fails * xfs_io: add seek consistency checks * fsr: fix uninitialized fs usage after timeout * xfs_db: bit fuzzing should read the right bit when flipping * xfs_db: make write/fuzz -c and -d work on non-crc filesystems * xfs_db: free field list when failing out of fuzz * xfs_db: reset metadump output flag * xfs_db: btdump should avoid eval for push and pop of cursor * xfs_db: use TYP_F_CRC_FUNC for inodes & dquots * xfs_db: introduce fuzz command * xfs_db: write values into dir/attr blocks and recalculate CRCs OBS-URL: https://build.opensuse.org/request/show/542710 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=54
2017-11-17 21:03:23 +01:00
aclocal -I m4
autoconf
export OPTIMIZER="-fPIC"
export DEBUG=-DNDEBUG
export LIBUUID=%{_libdir}/libuuid.a
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%configure \
--enable-readline=yes \
%if %{with systemd}
--with-systemd-unit-dir=%{_unitdir} \
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%endif
%if 0%{?suse_version} < 1500
--disable-lto \
%endif
%{nil}
make %{?_smp_mflags} V=1
Accepting request 495389 from home:jeff_mahoney:branches:filesystems - Update to 4.9.0 * xfs_quota: handle wrapped id from GETNEXTQUOTA * xfs_repair: don't indicate dirtiness if FSGEOMETRY fails * xfs_repair: junk leaf attribute if count == 0 * xfs_repair: fix some potential null pointer deferences * xfs_repair: fix bogus rmapbt record owner check * xfs.h: require transparent LFS for all users * xfs_io: Fix initial -m option * xfs_io: add command line option -i to start an idle thread * xfsprogs: Update FSF address in COPYING file * mkfs.xfs: format reflink enabled filesystems * xfs_repair: use thread pools to sort rmap data * xfs_repair: check for mergeable refcount records * xfs_repair: use range query when while checking rmaps * xfs_repair: check the CoW extent size hint * xfs_repair: complain about copy-on-write leftovers * xfs_repair: rebuild the refcount btree * xfs_repair: check the refcount btree against our observed reference counts when -n * xfs_repair: fix inode reflink flags * xfs_repair: record reflink inode state * xfs_repair: process reverse-mapping data into refcount data * xfs_repair: handle multiple owners of data blocks * xfs_repair: check the existing refcount btree * xfs_repair: fix get_agino_buf to avoid corrupting inodes * xfs_logprint: support bmap redo items * xfs_logprint: support refcount redo items * xfs_logprint: support cowextsize reporting in log contents * xfs_io: try to unshare copy-on-write blocks via fallocate * xfs_io: provide long-format help for falloc * xfs_io: support injecting the 'per-AG reservation critically low' error OBS-URL: https://build.opensuse.org/request/show/495389 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=47
2017-05-23 20:14:04 +02:00
PATH_TO_HELP="%{_dracutmodulesdir}/95suse-xfs/dracut-fsck-help.txt"
sed -e "s|@@PATH_TO_HELP@@|$PATH_TO_HELP|" %{SOURCE3} > module-setup.sh
%install
export DIST_ROOT=%{buildroot}
%make_install
make install-dev
# remove the static libs and libtool archive
rm -rf %{buildroot}/%{_lib}/*.{la,a}
rm -rf %{buildroot}/%{_libdir}/*.{la,a}
mv %{buildroot}/%{_lib}/* %{buildroot}%{_libdir}
%find_lang %{name}
Accepting request 495389 from home:jeff_mahoney:branches:filesystems - Update to 4.9.0 * xfs_quota: handle wrapped id from GETNEXTQUOTA * xfs_repair: don't indicate dirtiness if FSGEOMETRY fails * xfs_repair: junk leaf attribute if count == 0 * xfs_repair: fix some potential null pointer deferences * xfs_repair: fix bogus rmapbt record owner check * xfs.h: require transparent LFS for all users * xfs_io: Fix initial -m option * xfs_io: add command line option -i to start an idle thread * xfsprogs: Update FSF address in COPYING file * mkfs.xfs: format reflink enabled filesystems * xfs_repair: use thread pools to sort rmap data * xfs_repair: check for mergeable refcount records * xfs_repair: use range query when while checking rmaps * xfs_repair: check the CoW extent size hint * xfs_repair: complain about copy-on-write leftovers * xfs_repair: rebuild the refcount btree * xfs_repair: check the refcount btree against our observed reference counts when -n * xfs_repair: fix inode reflink flags * xfs_repair: record reflink inode state * xfs_repair: process reverse-mapping data into refcount data * xfs_repair: handle multiple owners of data blocks * xfs_repair: check the existing refcount btree * xfs_repair: fix get_agino_buf to avoid corrupting inodes * xfs_logprint: support bmap redo items * xfs_logprint: support refcount redo items * xfs_logprint: support cowextsize reporting in log contents * xfs_io: try to unshare copy-on-write blocks via fallocate * xfs_io: provide long-format help for falloc * xfs_io: support injecting the 'per-AG reservation critically low' error OBS-URL: https://build.opensuse.org/request/show/495389 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=47
2017-05-23 20:14:04 +02:00
install -m 0755 -d %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
install -m 0755 module-setup.sh %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
install -m 0644 %{SOURCE4} %{buildroot}/%{_dracutmodulesdir}/95suse-xfs/
%if %{with systemd}
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%pre
%service_add_pre xfs_scrub_all.service xfs_scrub_all.timer
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%post
%service_add_post xfs_scrub_all.service xfs_scrub_all.timer
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%preun
%service_del_preun xfs_scrub_all.service xfs_scrub_all.timer
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%postun
%service_del_postun xfs_scrub_all.service xfs_scrub_all.timer
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%endif
%post -n %{libname}
%{?regenerate_initrd_post}
/sbin/ldconfig
%postun -n %{libname}
%{?regenerate_initrd_post}
/sbin/ldconfig
%posttrans -n %{libname}
%{?regenerate_initrd_posttrans}
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%files -f %{name}.lang
%defattr(-,root,root,755)
#UsrMerge
/sbin/*
#EndUsrMerge
%{_sbindir}/*
Accepting request 579685 from home:mcgrof:branches:filesystems - drops drop xfs_io-fix-copy_file_range-symbol-name-collision.patch, this is now part of this release. - adds make_xfs_scrub_interp_explicit.patch, rpm lint complains about using env python, when this is used the dependency checker for rpm will not be able to resolve dependencies correctly, so an explicit interpreter is needed. - Update to v4.15.0: * Fix spelling mistake in mkfs lazy superblock diagnostic * Fix grammar and spelling in strings and man pages * Add xfs_scrub_fail systemd service file docs entry * Update .gitignore list for generated scrub cron file * Several updates to use more modern Debian packaging * xfsprogs: Release v4.15.0-rc1 * xfs_scrub: refactor outcome display into a separate helper * xfs_scrub: always init phase information * xfs_scrub: reclassify some of the warning messages * xfs_scrub: reclassify runtime errors * xfs_scrub: classify lack of ioctl support as a runtime error * xfs_scrub: remove preen mode * xfs_mdrestore: Don't rewind source file stream * xfs_mdrestore: Add -i option to built-in help * xfs_io: fix copy_file_range symbol name collision * xfs_scrub: kill dead code * xfs_scrub: close dir_fd if we don't get a DIR pointer * mkfs: don't create realtime filesystems with reflink enabled * xfs_scrub: handle scrub-only kernels more helpfully * xfs_scrub: wire up repair ioctl * debian/control: remove nonexistent libreadline5-dev build dependency * xfs_scrub: integrate services with systemd * xfs_scrub: create a script to scrub all xfs filesystems OBS-URL: https://build.opensuse.org/request/show/579685 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=61
2018-03-06 11:25:01 +01:00
%dir %{_libdir}/xfsprogs/
%{_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]/*
%doc %{_defaultdocdir}/%{name}
%if 0%{?suse_version} >= 1315
# SLE12 doesn't do %license
%if 0%{?suse_version} > 1315 || 0%{?is_opensuse}
%license LICENSES/GPL-2.0 LICENSES/LGPL-2.1
%endif
%endif
Accepting request 495389 from home:jeff_mahoney:branches:filesystems - Update to 4.9.0 * xfs_quota: handle wrapped id from GETNEXTQUOTA * xfs_repair: don't indicate dirtiness if FSGEOMETRY fails * xfs_repair: junk leaf attribute if count == 0 * xfs_repair: fix some potential null pointer deferences * xfs_repair: fix bogus rmapbt record owner check * xfs.h: require transparent LFS for all users * xfs_io: Fix initial -m option * xfs_io: add command line option -i to start an idle thread * xfsprogs: Update FSF address in COPYING file * mkfs.xfs: format reflink enabled filesystems * xfs_repair: use thread pools to sort rmap data * xfs_repair: check for mergeable refcount records * xfs_repair: use range query when while checking rmaps * xfs_repair: check the CoW extent size hint * xfs_repair: complain about copy-on-write leftovers * xfs_repair: rebuild the refcount btree * xfs_repair: check the refcount btree against our observed reference counts when -n * xfs_repair: fix inode reflink flags * xfs_repair: record reflink inode state * xfs_repair: process reverse-mapping data into refcount data * xfs_repair: handle multiple owners of data blocks * xfs_repair: check the existing refcount btree * xfs_repair: fix get_agino_buf to avoid corrupting inodes * xfs_logprint: support bmap redo items * xfs_logprint: support refcount redo items * xfs_logprint: support cowextsize reporting in log contents * xfs_io: try to unshare copy-on-write blocks via fallocate * xfs_io: provide long-format help for falloc * xfs_io: support injecting the 'per-AG reservation critically low' error OBS-URL: https://build.opensuse.org/request/show/495389 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=47
2017-05-23 20:14:04 +02:00
%dir %{_libexecdir}/dracut
%dir %{_libexecdir}/dracut/modules.d
%dir %{_dracutmodulesdir}/95suse-xfs/
%{_dracutmodulesdir}/95suse-xfs/dracut-fsck-help.txt
%{_dracutmodulesdir}/95suse-xfs/module-setup.sh
%files -n %{libname}
%defattr(-,root,root,755)
%{_libdir}/libhandle.so.*
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%files -n xfsprogs-devel
%defattr(-,root,root,755)
%{_includedir}/xfs
Accepting request 605498 from home:mcgrof:branches:filesystems - Fix OpenSUSE Tumbleweed package build (bsc#1091300) due to the libhandle1 library shared object (so) name expectations, this is documented here: https://en.opensuse.org/openSUSE:Shared_library_packaging_policy - Move systemd check to use a macro, to make it clear when the check is used and for what purpose exactly. Perhaps this should be moved later into a generic OpenSUSE/SUSE macro as a generic check as I suspect tons of other rpms will likely need the same. - Address -Werror errors on old compilers, for the life of me I can't see how xfsprogs is at fault, so just disable -Werror on older compilers for now. In the future we can consider adding a work around for the compiler instead of disabling -Werror entirely, but for now this is the best I can come up with. - Drop make_xfs_scrub_interp_explicit.patch, this is now upstream - Update to v4.16.1 (using verbiage from xfsprogs/doc/CHANGES now): * fsck.xfs: remove bashism which may interfere with boot (Eric Sandeen) * platforms: warn of impending deprecation of irix, freebsd, darwin * mkfs.xfs : enable sparse inodes by default (Darrick Wong) * fsck.xfs: allow forced boot-time repairs using xfs_repair (Jan Tulak) * xfs_repair: new -e flag alters exit code for fixed errors (Jan Tulak) * xfs_repair: fix to allow zeroing of corrupt log (Xiao Yang) * xfs_repair: remove old dead code (Eric Sandeen) * xfs_io: fix operation time reporting (Dave Chinner) * xfs_io: add RWF_DSYNC support to pwrite (Dave Chinner) * xfs_io: support a basic extent swap command (Brian Foster) * xfs_scrub: Many updates, still experimental (Darrick Wong) * xfs_db: print transaction reservation type information * libxfs: framework to detect memory leaks (Eric Sandeen) * misc: Fix up new warnings from gcc 7.3 (Darrick Wong) * misc: enable link time optimization, if requested (Darrick Wong) * misc: enable retpolines across all xfsprogs utilities (Darrick Wong) OBS-URL: https://build.opensuse.org/request/show/605498 OBS-URL: https://build.opensuse.org/package/show/filesystems/xfsprogs?expand=0&rev=68
2018-05-09 18:22:52 +02:00
%{_libdir}/libhandle.so
%{_mandir}/man3/*
%changelog