enable make check

This commit is contained in:
xujing 2023-02-13 19:11:13 +08:00
parent 36d30def25
commit 2e7c3e9dbc

View File

@ -1,12 +1,12 @@
Name: chkconfig
Version: 1.14
Release: 2
Release: 3
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}
@ -28,7 +28,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}
@ -59,6 +59,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d
%{_mandir}/man8/*
%changelog
* Mon Feb 13 2023 xujing <xujing125@huawei.com> - 1.14-3
- enable make check
* Sat Aug 27 2022 yixiangzhike <yixiangzhike007@163.com> - 1.14-2
- fix coredump while parseServiceInfo return non-zero