12 Star 0 Fork 8

src-openEuler/dbxtool

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dbxtool.spec 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
%global git_commit_hash 889594ffb104e3384fd91395f4f26b8b68fc38e1
Name: dbxtool
Version: 8
Release: 12
Summary: Tool for managing dbx updates installed on a machine.
License: GPLv2
URL: https://github.com/vathpela/dbxtool-devel
Source0: https://github.com/vathpela/%{name}-devel/archive/%{git_commit_hash}/%{name}-devel-889594f.tar.gz
Patch9000: remove-duplicate-efi-defines.patch
BuildRequires: gcc popt-devel efivar-devel >= 35-1 systemd
Requires: efivar systemd
%description
Tool for managing dbx updates installed on a machine.
%package_help
%prep
%autosetup -n %{name}-devel-%{git_commit_hash} -p1
%build
%make_build CFLAGS="$RPM_OPT_FLAGS" CCLDFLAGS="%{__global_ldflags}"
%install
%make_install
%check
%pre
%preun
%systemd_preun dbxtool.service
%post
%systemd_post dbxtool.service
%postun
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%exclude %{_docdir}/%{name}/COPYING
%{_unitdir}/dbxtool.service
%{_bindir}/%{name}
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/*.bin
%files help
%doc %{_mandir}/man1/*
%changelog
* Mon Nov 14 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 8-12
- fix build failure
* Tue Oct 25 2022 yanglongkang <yanglongkang@h-partners.com> - 8-11
- rebuild for next release
* Mon Jan 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 8-10
- remove useless patch.
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 8-9
- Package rebuild.
* Mon Sep 02 2019 openEuler Buildteam <buildteam@openeuler.org> - 8-8
- Package init.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/dbxtool.git
git@gitee.com:src-openeuler/dbxtool.git
src-openeuler
dbxtool
dbxtool
master

搜索帮助