88 lines
2.5 KiB
RPMSpec
88 lines
2.5 KiB
RPMSpec
Name: gfs2-utils
|
|
Version: 3.2.0
|
|
Release: 11
|
|
Summary: Global Filesystem Utilities
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
URL: https://pagure.io/gfs2-utils
|
|
Source0: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz
|
|
|
|
Patch0001: 0001-libgfs2-Fix-pointer-cast-byte-order-issue.patch
|
|
Patch0002: 0002-libgfs2-Fix-gfs-2-_log_header-metadata-description.patch
|
|
Patch0003: 0003-fsck.gfs2-Fix-segfault-in-build_and_check_metalist.patch
|
|
Patch0004: 0004-gfs2_jadd-Handle-out-of-space-issues.patch
|
|
Patch0005: 0005--gfs2_jadd-error-handling-overhaul.patch
|
|
Patch0006: 0006-gfs2_jadd-Fix-static-analysis-warnings.patch
|
|
|
|
BuildRequires: ncurses-devel kernel-headers automake libtool zlib-devel gettext-devel
|
|
BuildRequires: bison flex libblkid-devel libuuid-devel check-devel
|
|
|
|
%description
|
|
The gfs2-utils package contains a number of utilities for creating, checking,
|
|
modifying, and correcting inconsistencies in GFS2 file systems.
|
|
|
|
%package_help
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure
|
|
%make_build
|
|
|
|
%check
|
|
make check || { cat tests/testsuite.log; exit 1; }
|
|
|
|
%install
|
|
make -C gfs2 install DESTDIR=%{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license doc/COPYING.* doc/COPYRIGHT doc/README.licence
|
|
%{_sbindir}/gfs2*
|
|
%{_sbindir}/*.gfs2
|
|
%{_sbindir}/tunegfs2
|
|
%{_sbindir}/glocktop
|
|
%{_prefix}/lib/udev/rules.d/*.rules
|
|
%exclude %{_sbindir}/gfs2_trace
|
|
%exclude %{_sbindir}/gfs2_lockcapture
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%doc doc/*.txt doc/README.contributing
|
|
%{_mandir}/man5/*
|
|
%{_mandir}/man8/*
|
|
%exclude %{_mandir}/man8/gfs2_trace.8.gz
|
|
%exclude %{_mandir}/man8/gfs2_lockcapture.8.gz
|
|
|
|
%changelog
|
|
* Tue Dec 12 2023 liyuanyuan <liyuanyuan@xfusion.com> - 3.2.0-11
|
|
- gfs2_jadd: Fix static analysis warningS
|
|
|
|
* Fri Nov 24 2023 liyuanyuan <liyuanyuan@xfusion.com> - 3.2.0-10
|
|
- gfs2_jadd: error handling overhaul
|
|
|
|
* Thu Nov 09 2023 liyuanyuan <liyuanyuan@xfusion.com> - 3.2.0-9
|
|
- gfs2_jadd: Handle out-of-space issues
|
|
|
|
* Thu Nov 02 2023 liyuanyuan <liyuanyuan@xfusion.com> - 3.2.0-8
|
|
- fsck.gfs2: Fix segfault in build_and_check_metalist
|
|
|
|
* Thu Oct 26 2023 liyuanyuan <liyuanyuan@xfusion.com> - 3.2.0-7
|
|
- libgfs2: Fix gfs[2]_log_header metadata description
|
|
|
|
* Thu Oct 19 2023 liyuanyuan <liyuanyuan@xfusion.com> - 3.2.0-6
|
|
- libgfs2: Fix pointer cast byte order issue
|
|
|
|
* Tue Jan 21 2020 daiqianwen <daiqianwen@huawei.com> - 3.2.0-5
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: modify spec
|
|
|
|
* Sat Nov 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.2.0-4
|
|
- Package Init
|
|
|