c328eb
Name: gfs2-utils
c328eb
Version: 3.4.1
c328eb
Release: 4%{?dist}
c328eb
License: GPLv2+ and LGPLv2+
c328eb
Summary: Utilities for managing the global file system (GFS2)
c328eb
%ifnarch %{arm}
c328eb
%{?fedora:Recommends: kmod(gfs2.ko) kmod(dlm.ko)}
c328eb
%endif
c328eb
BuildRequires: ncurses-devel
c328eb
BuildRequires: kernel-headers
c328eb
BuildRequires: automake
c328eb
BuildRequires: libtool
c328eb
BuildRequires: zlib-devel
c328eb
BuildRequires: gettext-devel
c328eb
BuildRequires: bison
c328eb
BuildRequires: flex
c328eb
BuildRequires: libblkid-devel
c328eb
BuildRequires: libuuid-devel
c328eb
BuildRequires: check-devel
c328eb
BuildRequires: bzip2-devel
c328eb
BuildRequires: make
c328eb
Source: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz
c328eb
URL: https://pagure.io/gfs2-utils
c328eb
c328eb
%prep
c328eb
%autosetup -p1
c328eb
c328eb
%build
c328eb
./autogen.sh
c328eb
%configure
c328eb
%make_build
c328eb
c328eb
%check
c328eb
make check || { cat tests/testsuite.log; exit 1; }
c328eb
c328eb
%install
c328eb
%make_install
c328eb
# Don't ship gfs2_{trace,lockcapture} in this package
c328eb
rm -f %{buildroot}/usr/sbin/gfs2_trace
c328eb
rm -f %{buildroot}/usr/sbin/gfs2_lockcapture
c328eb
rm -f %{buildroot}%{_mandir}/man8/gfs2_trace.8
c328eb
rm -f %{buildroot}%{_mandir}/man8/gfs2_lockcapture.8
c328eb
c328eb
%description
c328eb
The gfs2-utils package contains a number of utilities for creating, checking,
c328eb
modifying, and correcting inconsistencies in GFS2 file systems.
c328eb
c328eb
%files
c328eb
%doc doc/COPYING.* doc/COPYRIGHT doc/*.txt
c328eb
%doc doc/README.contributing doc/README.licence
c328eb
%{_sbindir}/fsck.gfs2
c328eb
%{_sbindir}/gfs2_grow
c328eb
%{_sbindir}/gfs2_jadd
c328eb
%{_sbindir}/mkfs.gfs2
c328eb
%{_sbindir}/gfs2_convert
c328eb
%{_sbindir}/gfs2_edit
c328eb
%{_sbindir}/tunegfs2
c328eb
%{_sbindir}/glocktop
c328eb
%{_libexecdir}/gfs2_withdraw_helper
c328eb
%{_mandir}/man8/*gfs2*
c328eb
%{_mandir}/man8/glocktop*
c328eb
%{_mandir}/man5/*
c328eb
%{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules
c328eb
c328eb
%changelog
c328eb
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.4.1-4
c328eb
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c328eb
  Related: rhbz#1991688
c328eb
c328eb
* Tue May 11 2021 Andrew Price <anprice@redhat.com> - 3.4.1-3
c328eb
- Rebuild for kernel 5.12 headers
c328eb
  Resolves: rhbz#1616432
c328eb
c328eb
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.4.1-2
c328eb
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c328eb
c328eb
* Mon Mar 15 2021 Andrew Price <anprice@redhat.com> - 3.4.1-1
c328eb
- New upstream version
c328eb
c328eb
* Mon Mar 08 2021 Andrew Price <anprice@redhat.com> - 3.4.0-1
c328eb
- New upstream version
c328eb
- Update testsuite script
c328eb
c328eb
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-3
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c328eb
c328eb
* Thu Sep 03 2020 Andrew Price <anprice@redhat.com> - 3.3.0-2
c328eb
- Version bump to enable gating tests
c328eb
c328eb
* Tue Sep 01 2020 Andrew Price <anprice@redhat.com> - 3.3.0-1
c328eb
- New upstream version
c328eb
- Add dependency on bzip2
c328eb
- Drop all patches
c328eb
- gfs2_withdraw_helper is now in /usr/libexec/
c328eb
c328eb
* Wed Jul 29 2020 Andrew Price <anprice@redhat.com> - 3.2.0-10
c328eb
- tests: Don't use fail_unless in unit tests
c328eb
  Fixes build failures due to a regression in check-devel
c328eb
c328eb
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-9
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c328eb
c328eb
* Tue Jul 21 2020 Andrew Price <anprice@redhat.com> - 3.2.0-8
c328eb
- Use make_build and make_install macros
c328eb
  https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
c328eb
- Remove -C gfs2 - it's a remnant from the cluster.git days
c328eb
- Remove unnecessary header notice from spec file
c328eb
c328eb
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-7
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c328eb
c328eb
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-6
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c328eb
c328eb
* Mon Feb 04 2019 Andrew Price <anprice@redhat.com> - 3.2.0-5
c328eb
- Fix libuuid linking
c328eb
c328eb
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-4
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c328eb
c328eb
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c328eb
c328eb
* Thu Jun 21 2018 Andrew Price <anprice@redhat.com> - 3.2.0-2
c328eb
- Recommend the gfs2 and dlm kmods instead of requiring them
c328eb
  Resolves: bz#1593411
c328eb
c328eb
* Thu May 24 2018 Andrew Price <anprice@redhat.com> - 3.2.0-1
c328eb
- New upstream release
c328eb
c328eb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-5
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c328eb
c328eb
* Fri Oct 13 2017 Andrew Price <anprice@redhat.com> - 3.1.10-4
c328eb
- Update URL in spec file
c328eb
c328eb
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-3
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c328eb
c328eb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-2
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c328eb
c328eb
* Tue Mar 28 2017 Andrew Price <anprice@redhat.com> - 3.1.10-1
c328eb
- New upstream release
c328eb
- Make dependency on libuuid explicit
c328eb
c328eb
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-2
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c328eb
c328eb
* Tue Jun 07 2016 Andrew Price <anprice@redhat.com> - 3.1.9-1
c328eb
- New upstream release
c328eb
- Drop all patches
c328eb
- Add glocktop to the package
c328eb
c328eb
* Mon Feb 15 2016 Andrew Price <anprice@redhat.com> - 3.1.8-7
c328eb
- libgfs2: Add support for dirent.de_rahead
c328eb
- gfs2_edit: Include dirent.de_rahead in directory listings
c328eb
- gfs2-utils: Add a check for the de_rahead field
c328eb
- libgfs2: Support the new dirent de_cookie field
c328eb
  Resolves: bz#1307532
c328eb
c328eb
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.8-6
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c328eb
c328eb
* Thu Aug 20 2015 Andrew Price <anprice@redhat.com> - 3.1.8-5
c328eb
- Add patches to install the withdraw helper script properly:
c328eb
  scripts_rename_gfs2_wd_udev_sh_to_gfs2_withdraw_helper.patch
c328eb
  scripts_install_the_withdraw_helper_script.patch
c328eb
  scripts_install_the_withdraw_udev_rules_script.patch
c328eb
- Remove the obsolete udev script installation bits
c328eb
c328eb
* Tue Aug 11 2015 Andrew Price <anprice@redhat.com> - 3.1.8-4
c328eb
- gfs2-utils: Fix hang on withdraw
c328eb
- Install udev withdraw handler scripts
c328eb
c328eb
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.8-3
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c328eb
c328eb
* Sat Apr 18 2015 Andrew Price <anprice@redhat.com> - 3.1.8-2
c328eb
- fsck.gfs2: replace recent i_goal fixes with simple logic
c328eb
c328eb
* Tue Apr 07 2015 Andrew Price <anprice@redhat.com> - 3.1.8-1
c328eb
- New upstream release
c328eb
- Remove perl dependency
c328eb
- Update spec per the latest packaging guidelines
c328eb
c328eb
* Mon Sep 08 2014 Andrew Price <anprice@redhat.com> - 3.1.7-1
c328eb
- New upstream release
c328eb
- Drop all patches
c328eb
- gfs2-utils tests: Build unit tests with consistent cpp flags
c328eb
c328eb
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.6-9
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c328eb
c328eb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.6-8
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c328eb
c328eb
* Thu May 15 2014 Josh Boyer <jwboyer@fedoraproject.org> - 3.1.6-7
c328eb
- Switch to using Requires on individual kernel modules
c328eb
  Resolves: bz#1056191
c328eb
c328eb
* Fri Mar 21 2014 Andrew Price <anprice@redhat.com> - 3.1.6-6
c328eb
- gfs2_grow: Don't try to open an empty string
c328eb
- libgfs2: Add lgfs2 open mnt functions
c328eb
- Switch is pathname mounted callers to lgfs2 open mnt
c328eb
- libgfs2 Remove is pathname mounted
c328eb
  Resolves: bz#1079286
c328eb
c328eb
* Fri Oct 04 2013 Andrew Price <anprice@redhat.com> - 3.1.6-5
c328eb
- Suppress req on kernel-modules-extra for ARM arches.
c328eb
c328eb
* Tue Sep 17 2013 Andrew Price <anprice@redhat.com> - 3.1.6-4
c328eb
- Don't use README.* for docs (it can pick up some patch files)
c328eb
c328eb
* Wed Aug 21 2013 Andrew Price <anprice@redhat.com> - 3.1.6-3
c328eb
- Install utils into /usr/sbin instead of /sbin
c328eb
  Resolves: rhbz#996539
c328eb
c328eb
* Mon Jul 29 2013 Andrew Price <anprice@redhat.com> - 3.1.6-2
c328eb
- Don't install gfs2_lockcapture and gfs2_trace
c328eb
  Resolves: rhbz#987019
c328eb
- Run test suite after build (requires check-devel build req)
c328eb
- Install both of the READMEs into doc/
c328eb
c328eb
* Wed Jul 24 2013 Andrew Price <anprice@redhat.com> - 3.1.6-1
c328eb
- New upstream release
c328eb
- Drop 'file' requirement - mkfs.gfs2 now uses libblkid instead
c328eb
- Drop 'ncurses' requirement - dependency is added automatically
c328eb
- Drop requires chkconfig and initscripts - no longer installs daemons
c328eb
- Drop fix_build_on_rawhide.patch - upstream
c328eb
- Add build req on libblkid-devel
c328eb
c328eb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.5-2
c328eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild