%global git_commit_hash 889594ffb104e3384fd91395f4f26b8b68fc38e1 Name: dbxtool Version: 8 Release: 11 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 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 * Tue Oct 25 2022 yanglongkang - 8-11 - rebuild for next release * Mon Jan 6 2020 openEuler Buildteam - 8-10 - remove useless patch. * Mon Oct 21 2019 openEuler Buildteam - 8-9 - Package rebuild. * Mon Sep 02 2019 openEuler Buildteam - 8-8 - Package init.