2010-11-10 10:21:41 +00:00
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
##
|
2018-05-24 11:52:33 +00:00
|
|
|
## Copyright (C) 2004-2018 Red Hat, Inc. All rights reserved.
|
2010-11-10 10:21:41 +00:00
|
|
|
##
|
|
|
|
## This copyrighted material is made available to anyone wishing to use,
|
|
|
|
## modify, copy, or redistribute it subject to the terms and conditions
|
|
|
|
## of the GNU General Public License v.2.
|
|
|
|
##
|
|
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
Name: gfs2-utils
|
2018-05-24 11:52:33 +00:00
|
|
|
Version: 3.2.0
|
2020-01-28 20:06:42 +00:00
|
|
|
Release: 7%{?dist}
|
2010-11-10 10:21:41 +00:00
|
|
|
License: GPLv2+ and LGPLv2+
|
2012-04-17 14:00:49 +00:00
|
|
|
Summary: Utilities for managing the global file system (GFS2)
|
2013-10-04 15:10:40 +00:00
|
|
|
%ifnarch %{arm}
|
2018-06-21 09:43:18 +00:00
|
|
|
%{?fedora:Recommends: kmod(gfs2.ko) kmod(dlm.ko)}
|
2013-10-04 15:10:40 +00:00
|
|
|
%endif
|
2010-11-10 10:21:41 +00:00
|
|
|
BuildRequires: ncurses-devel
|
2012-11-13 10:22:40 +00:00
|
|
|
BuildRequires: kernel-headers
|
2010-11-10 10:21:41 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: libtool
|
2011-07-06 15:46:17 +00:00
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: gettext-devel
|
2012-11-13 10:22:40 +00:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
2013-07-24 10:56:29 +00:00
|
|
|
BuildRequires: libblkid-devel
|
2017-03-28 17:24:18 +00:00
|
|
|
BuildRequires: libuuid-devel
|
2013-07-29 09:28:06 +00:00
|
|
|
BuildRequires: check-devel
|
2017-03-28 17:24:18 +00:00
|
|
|
Source: https://releases.pagure.org/gfs2-utils/gfs2-utils-%{version}.tar.gz
|
2017-10-13 10:49:12 +00:00
|
|
|
URL: https://pagure.io/gfs2-utils
|
2019-02-04 15:40:42 +00:00
|
|
|
Patch0: 0-Fix_libuuid_linking.patch
|
|
|
|
Patch1: 1-Fix_more_linking_errors.patch
|
2010-11-10 10:21:41 +00:00
|
|
|
|
|
|
|
%prep
|
2019-02-04 15:40:42 +00:00
|
|
|
%autosetup -p1
|
2010-11-10 10:21:41 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure
|
2015-04-07 18:18:33 +00:00
|
|
|
make %{_smp_mflags} V=1
|
2010-11-10 10:21:41 +00:00
|
|
|
|
2013-07-29 09:28:06 +00:00
|
|
|
%check
|
2015-04-07 18:18:33 +00:00
|
|
|
make check || { cat tests/testsuite.log; exit 1; }
|
2013-07-29 09:28:06 +00:00
|
|
|
|
2010-11-10 10:21:41 +00:00
|
|
|
%install
|
|
|
|
make -C gfs2 install DESTDIR=%{buildroot}
|
2013-07-29 09:28:06 +00:00
|
|
|
# Don't ship gfs2_{trace,lockcapture} in this package
|
2015-04-07 18:18:33 +00:00
|
|
|
rm -f %{buildroot}/usr/sbin/gfs2_trace
|
|
|
|
rm -f %{buildroot}/usr/sbin/gfs2_lockcapture
|
2013-07-29 09:28:06 +00:00
|
|
|
rm -f %{buildroot}%{_mandir}/man8/gfs2_trace.8
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/gfs2_lockcapture.8
|
2010-11-10 10:21:41 +00:00
|
|
|
|
2015-04-07 18:18:33 +00:00
|
|
|
%description
|
2016-06-07 12:23:02 +00:00
|
|
|
The gfs2-utils package contains a number of utilities for creating, checking,
|
|
|
|
modifying, and correcting inconsistencies in GFS2 file systems.
|
2010-11-10 10:21:41 +00:00
|
|
|
|
2015-04-07 18:18:33 +00:00
|
|
|
%files
|
2013-09-17 12:37:12 +00:00
|
|
|
%doc doc/COPYING.* doc/COPYRIGHT doc/*.txt
|
|
|
|
%doc doc/README.contributing doc/README.licence
|
2013-08-21 11:09:46 +00:00
|
|
|
%{_sbindir}/fsck.gfs2
|
|
|
|
%{_sbindir}/gfs2_grow
|
|
|
|
%{_sbindir}/gfs2_jadd
|
|
|
|
%{_sbindir}/mkfs.gfs2
|
|
|
|
%{_sbindir}/gfs2_convert
|
|
|
|
%{_sbindir}/gfs2_edit
|
2010-11-10 10:21:41 +00:00
|
|
|
%{_sbindir}/tunegfs2
|
2015-08-20 15:11:44 +00:00
|
|
|
%{_sbindir}/gfs2_withdraw_helper
|
2016-06-07 12:23:02 +00:00
|
|
|
%{_sbindir}/glocktop
|
2010-11-10 10:21:41 +00:00
|
|
|
%{_mandir}/man8/*gfs2*
|
2016-06-07 12:23:02 +00:00
|
|
|
%{_mandir}/man8/glocktop*
|
2010-11-10 10:21:41 +00:00
|
|
|
%{_mandir}/man5/*
|
2015-08-11 18:41:05 +00:00
|
|
|
%{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules
|
2010-11-10 10:21:41 +00:00
|
|
|
|
|
|
|
%changelog
|
2020-01-28 20:06:42 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 01:57:33 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-04 15:40:42 +00:00
|
|
|
* Mon Feb 04 2019 Andrew Price <anprice@redhat.com> - 3.2.0-5
|
|
|
|
- Fix libuuid linking
|
|
|
|
|
2019-01-31 21:02:12 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 01:27:50 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-21 09:43:18 +00:00
|
|
|
* Thu Jun 21 2018 Andrew Price <anprice@redhat.com> - 3.2.0-2
|
|
|
|
- Recommend the gfs2 and dlm kmods instead of requiring them
|
|
|
|
Resolves: bz#1593411
|
|
|
|
|
2018-05-24 11:52:33 +00:00
|
|
|
* Thu May 24 2018 Andrew Price <anprice@redhat.com> - 3.2.0-1
|
|
|
|
- New upstream release
|
|
|
|
|
2018-02-07 11:09:41 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-10-13 10:49:12 +00:00
|
|
|
* Fri Oct 13 2017 Andrew Price <anprice@redhat.com> - 3.1.10-4
|
|
|
|
- Update URL in spec file
|
|
|
|
|
2017-08-02 21:08:14 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 09:29:41 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-28 17:24:18 +00:00
|
|
|
* Tue Mar 28 2017 Andrew Price <anprice@redhat.com> - 3.1.10-1
|
|
|
|
- New upstream release
|
|
|
|
- Make dependency on libuuid explicit
|
|
|
|
|
2017-02-10 10:29:44 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-06-07 12:23:02 +00:00
|
|
|
* Tue Jun 07 2016 Andrew Price <anprice@redhat.com> - 3.1.9-1
|
|
|
|
- New upstream release
|
|
|
|
- Drop all patches
|
|
|
|
- Add glocktop to the package
|
|
|
|
|
2016-02-15 20:39:08 +00:00
|
|
|
* Mon Feb 15 2016 Andrew Price <anprice@redhat.com> - 3.1.8-7
|
|
|
|
- libgfs2: Add support for dirent.de_rahead
|
|
|
|
- gfs2_edit: Include dirent.de_rahead in directory listings
|
|
|
|
- gfs2-utils: Add a check for the de_rahead field
|
|
|
|
- libgfs2: Support the new dirent de_cookie field
|
|
|
|
Resolves: bz#1307532
|
|
|
|
|
2016-02-03 21:21:07 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.8-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-20 15:11:44 +00:00
|
|
|
* Thu Aug 20 2015 Andrew Price <anprice@redhat.com> - 3.1.8-5
|
|
|
|
- Add patches to install the withdraw helper script properly:
|
|
|
|
scripts_rename_gfs2_wd_udev_sh_to_gfs2_withdraw_helper.patch
|
|
|
|
scripts_install_the_withdraw_helper_script.patch
|
|
|
|
scripts_install_the_withdraw_udev_rules_script.patch
|
|
|
|
- Remove the obsolete udev script installation bits
|
|
|
|
|
2015-08-11 18:41:05 +00:00
|
|
|
* Tue Aug 11 2015 Andrew Price <anprice@redhat.com> - 3.1.8-4
|
|
|
|
- gfs2-utils: Fix hang on withdraw
|
|
|
|
- Install udev withdraw handler scripts
|
|
|
|
|
2015-06-17 07:25:55 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-18 17:43:42 +00:00
|
|
|
* Sat Apr 18 2015 Andrew Price <anprice@redhat.com> - 3.1.8-2
|
|
|
|
- fsck.gfs2: replace recent i_goal fixes with simple logic
|
|
|
|
|
2015-04-07 18:18:33 +00:00
|
|
|
* Tue Apr 07 2015 Andrew Price <anprice@redhat.com> - 3.1.8-1
|
|
|
|
- New upstream release
|
|
|
|
- Remove perl dependency
|
|
|
|
- Update spec per the latest packaging guidelines
|
|
|
|
|
2014-09-08 10:48:03 +00:00
|
|
|
* Mon Sep 08 2014 Andrew Price <anprice@redhat.com> - 3.1.7-1
|
|
|
|
- New upstream release
|
|
|
|
- Drop all patches
|
|
|
|
- gfs2-utils tests: Build unit tests with consistent cpp flags
|
|
|
|
|
2014-08-16 14:24:07 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.6-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 14:17:10 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.6-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-14 18:24:08 +00:00
|
|
|
* Thu May 15 2014 Josh Boyer <jwboyer@fedoraproject.org> - 3.1.6-7
|
|
|
|
- Switch to using Requires on individual kernel modules
|
|
|
|
Resolves: bz#1056191
|
|
|
|
|
2014-03-21 12:49:29 +00:00
|
|
|
* Fri Mar 21 2014 Andrew Price <anprice@redhat.com> - 3.1.6-6
|
|
|
|
- gfs2_grow: Don't try to open an empty string
|
|
|
|
- libgfs2: Add lgfs2 open mnt functions
|
|
|
|
- Switch is pathname mounted callers to lgfs2 open mnt
|
|
|
|
- libgfs2 Remove is pathname mounted
|
|
|
|
Resolves: bz#1079286
|
|
|
|
|
2013-10-04 15:10:40 +00:00
|
|
|
* Fri Oct 04 2013 Andrew Price <anprice@redhat.com> - 3.1.6-5
|
|
|
|
- Suppress req on kernel-modules-extra for ARM arches.
|
|
|
|
|
2013-09-17 12:37:12 +00:00
|
|
|
* Tue Sep 17 2013 Andrew Price <anprice@redhat.com> - 3.1.6-4
|
|
|
|
- Don't use README.* for docs (it can pick up some patch files)
|
|
|
|
|
2013-08-21 11:09:46 +00:00
|
|
|
* Wed Aug 21 2013 Andrew Price <anprice@redhat.com> - 3.1.6-3
|
|
|
|
- Install utils into /usr/sbin instead of /sbin
|
|
|
|
Resolves: rhbz#996539
|
|
|
|
|
2013-07-29 09:28:06 +00:00
|
|
|
* Mon Jul 29 2013 Andrew Price <anprice@redhat.com> - 3.1.6-2
|
|
|
|
- Don't install gfs2_lockcapture and gfs2_trace
|
|
|
|
Resolves: rhbz#987019
|
|
|
|
- Run test suite after build (requires check-devel build req)
|
|
|
|
- Install both of the READMEs into doc/
|
|
|
|
|
2013-07-24 10:56:29 +00:00
|
|
|
* Wed Jul 24 2013 Andrew Price <anprice@redhat.com> - 3.1.6-1
|
|
|
|
- New upstream release
|
|
|
|
- Drop 'file' requirement - mkfs.gfs2 now uses libblkid instead
|
|
|
|
- Drop 'ncurses' requirement - dependency is added automatically
|
|
|
|
- Drop requires chkconfig and initscripts - no longer installs daemons
|
|
|
|
- Drop fix_build_on_rawhide.patch - upstream
|
|
|
|
- Add build req on libblkid-devel
|
|
|
|
|
2013-02-13 22:49:44 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|