X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xfsprogs.spec;h=1c244cb7cc8474281923207522bf3519567aa4fd;hb=4cf17b4de1c3292c21d531d0597c30bd6fe59c17;hp=96fc4ba6f52e4c356b9d184d86dba694642df5ef;hpb=130616c9b4d320708b5c6b1b64296fe32945e26b;p=packages%2Fxfsprogs.git diff --git a/xfsprogs.spec b/xfsprogs.spec index 96fc4ba..1c244cb 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -5,16 +5,16 @@ Summary: Tools for the XFS filesystem Summary(pl.UTF-8): Narzędzia do systemu plików XFS Name: xfsprogs -Version: 5.6.0 +Version: 5.10.0 Release: 1 License: LGPL v2.1 (libhandle), GPL v2 (the rest) Group: Applications/System -Source0: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.gz -# Source0-md5: a03171a50d3e86f568503940e220ff9d +Source0: https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/%{name}-%{version}.tar.xz +# Source0-md5: f4156af67a0e247833be88efaa2869f9 Source1: xfs_lsprojid Patch0: %{name}-miscfix-v2.patch Patch1: %{name}-pl.po-update.patch -# Patch1-md5: 697215f7fd4c25a3f883861ed971896c +# Patch1-md5: 1b41527cf19426d6059615c7d82b71e8 URL: https://xfs.wiki.kernel.org/ # for BuildRequires: attr-devel @@ -24,15 +24,19 @@ BuildRequires: bash BuildRequires: device-mapper-devel BuildRequires: gettext-tools BuildRequires: glibc-static +BuildRequires: inih-devel BuildRequires: libblkid-devel +# without .la file so that -static-libtool-libs won't take libedit.a +BuildRequires: libedit-devel >= 3.1-1.20191231.1 BuildRequires: libicu-devel BuildRequires: libtool BuildRequires: libuuid-devel BuildRequires: libuuid-static -BuildRequires: readline-devel BuildRequires: rpm >= 4.4.9-56 BuildRequires: rpmbuild(macros) >= 1.402 BuildRequires: sed >= 4.0 +BuildRequires: tar >= 1:1.22 +BuildRequires: xz Obsoletes: xfsprogs-initrd BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -111,7 +115,7 @@ Biblioteki statyczne do XFS. %prep %setup -q %patch0 -p1 -#%patch1 -p1 +%patch1 -p1 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' scrub/xfs_scrub_all.in tools/xfsbuflock.py @@ -121,11 +125,11 @@ Biblioteki statyczne do XFS. %configure \ DEBUG="%{?with_debug_asserts:-DDEBUG}%{!?with_debug_asserts:-DNDEBUG}" \ OPTIMIZER="%{rpmcflags}" \ - --enable-libicu=yes \ - --enable-lto=no \ --enable-blkid \ + --enable-editline \ --enable-gettext \ - --enable-readline \ + --enable-libicu \ + --disable-lto \ --enable-scrub=yes %{__make} -j1 \ @@ -219,14 +223,19 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man2/ioctl_xfs_bulkstat.2* %{_mandir}/man2/ioctl_xfs_fsbulkstat.2* %{_mandir}/man2/ioctl_xfs_fscounts.2* +%{_mandir}/man2/ioctl_xfs_fsgeometry.2* %{_mandir}/man2/ioctl_xfs_fsgetxattr.2* +%{_mandir}/man2/ioctl_xfs_fsgetxattra.2* %{_mandir}/man2/ioctl_xfs_fsinumbers.2* -%{_mandir}/man2/ioctl_xfs_fsop_geometry.2* +%{_mandir}/man2/ioctl_xfs_fssetxattr.2* +%{_mandir}/man2/ioctl_xfs_getbmap.2* +%{_mandir}/man2/ioctl_xfs_getbmapa.2* %{_mandir}/man2/ioctl_xfs_getbmapx.2* %{_mandir}/man2/ioctl_xfs_getresblks.2* %{_mandir}/man2/ioctl_xfs_goingdown.2* %{_mandir}/man2/ioctl_xfs_inumbers.2* %{_mandir}/man2/ioctl_xfs_scrub_metadata.2* +%{_mandir}/man2/ioctl_xfs_setresblks.2* %{_mandir}/man3/*handle.3* %{_mandir}/man3/xfsctl.3*