1 Star 0 Fork 13

starlet_dx/gfs2-utils

forked from src-openEuler/gfs2-utils 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gfs2-utils.spec 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
wk333 提交于 2022-04-07 17:22 . fix build error
Name: gfs2-utils
Version: 3.4.1
Release: 2
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 bzip2-devel make
%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 -p1
%build
./autogen.sh
%configure
%make_build
%check
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
%license doc/COPYING.* doc/COPYRIGHT doc/README.licence
%{_sbindir}/gfs2*
%{_sbindir}/*.gfs2
%{_sbindir}/tunegfs2
%{_sbindir}/glocktop
%{_libexecdir}/gfs2_withdraw_helper
%{_prefix}/lib/udev/rules.d/82-gfs2-withdraw.rules
%files help
%doc doc/*.txt doc/README.contributing
%{_mandir}/man8/*gfs2*
%{_mandir}/man8/glocktop*
%{_mandir}/man5/*
%changelog
* Thu Apr 07 2022 wangkai <[email protected]> - 3.4.1-2
- fix build error
* Mon Dec 27 2021 wangyangli <[email protected]> - 3.4.1-1
- upgrade to 3.4.1
* Tue Jan 21 2020 daiqianwen <[email protected]> - 3.2.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: modify spec
* Sat Nov 23 2019 openEuler Buildteam <[email protected]> - 3.2.0-4
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/starlet-dx/gfs2-utils.git
[email protected]:starlet-dx/gfs2-utils.git
starlet-dx
gfs2-utils
gfs2-utils
master

搜索帮助