From 394e78efb2f5842e8d18b8fdd7eadefadf9f07f3 Mon Sep 17 00:00:00 2001 From: wangchen2020 <15955488707@163.com> Date: Sat, 29 Aug 2020 11:41:57 +0800 Subject: [PATCH] Fix make check failed for lacking beaklib --- chkconfig.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/chkconfig.spec b/chkconfig.spec index 5349319..3797890 100644 --- a/chkconfig.spec +++ b/chkconfig.spec @@ -1,12 +1,12 @@ Name: chkconfig Version: 1.14 -Release: 1 +Release: 2 Summary: chkconfig updates and queries runlevel information for system services License: GPLv2 URL: https://github.com/fedora-sysv/chkconfig Source0: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: gcc newt-devel gettext popt-devel libselinux-devel +BuildRequires: gcc newt-devel gettext popt-devel libselinux-devel beakerlib Conflicts: initscripts <= 5.30-1 Provides: ntsysv = %{version}-%{release} Obsoletes: ntsysv < %{version}-%{release} @@ -26,7 +26,7 @@ symbolic links in those directories. %make_build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %check -#make check +make check %install %make_install MANDIR=%{_mandir} SBINDIR=%{_sbindir} @@ -57,6 +57,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d %{_mandir}/man8/* %changelog +* Mon Aug 31 2020 wangchen - 1.14-2 +- Open make check because beakerlib exist + * Fri Jul 31 2020 wangchen - 1.14-1 - Update to 1.14