upgrade to 3.4.1

This commit is contained in:
starlet-dx 2022-10-20 17:46:32 +08:00
parent d848a6c01a
commit 8c53a50a5d
3 changed files with 19 additions and 15 deletions

Binary file not shown.

BIN
gfs2-utils-3.4.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +1,17 @@
Name: gfs2-utils
Version: 3.2.0
Release: 6
Summary: Global Filesystem Utilities
Version: 3.4.1
Release: 1
Summary: Utilities for managing the global file system (GFS2
License: GPLv2+ and LGPLv2+
URL: https://pagure.io/gfs2-utils
Source0: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz
# https://github.com/andyprice/gfs2-utils/commit/17fb470
Patch0: 0001-gfs2-edit-always-use-s-style-format-for-printf-style.patch
Patch1: 0002-fix-error-format-in-gfs2hex.patch
BuildRequires: ncurses-devel kernel-headers automake libtool zlib-devel gettext-devel
BuildRequires: bison flex libblkid-devel libuuid-devel check-devel
BuildRequires: bison flex libblkid-devel libuuid-devel check-devel bzip2-devel make
%description
The gfs2-utils package contains a number of utilities for creating, checking,
@ -19,7 +20,7 @@ modifying, and correcting inconsistencies in GFS2 file systems.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%autosetup -p1
%build
./autogen.sh
@ -31,27 +32,31 @@ make check || { cat tests/testsuite.log; exit 1; }
%install
make -C gfs2 install DESTDIR=%{buildroot}
rm -f %{buildroot}/usr/sbin/gfs2_trace
rm -f %{buildroot}/usr/sbin/gfs2_lockcapture
rm -f %{buildroot}%{_mandir}/man8/gfs2_trace.8
rm -f %{buildroot}%{_mandir}/man8/gfs2_lockcapture.8
%files
%defattr(-,root,root)
%license doc/COPYING.* doc/COPYRIGHT doc/README.licence
%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
%{_libexecdir}/gfs2_withdraw_helper
%{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules
%files help
%defattr(-,root,root)
%doc doc/*.txt doc/README.contributing
%{_mandir}/man8/*gfs2*
%{_mandir}/man8/glocktop*
%{_mandir}/man5/*
%{_mandir}/man8/*
%exclude %{_mandir}/man8/gfs2_trace.8.gz
%exclude %{_mandir}/man8/gfs2_lockcapture.8.gz
%changelog
* Thu Oct 20 2022 yaoxin <yaoxin30@h-partners.com> - 3.4.1-1
- upgrade to 3.4.1
* Fri Mar 11 2022 yangping <yangping69@huawei.com> - 3.2.0-6
- Fix some error format arguments
@ -63,4 +68,3 @@ make -C gfs2 install DESTDIR=%{buildroot}
* Sat Nov 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.2.0-4
- Package Init