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 Name: chkconfig
Version: 1.14 Version: 1.14
Release: 2 Release: 3
Summary: chkconfig updates and queries runlevel information for system services Summary: chkconfig updates and queries runlevel information for system services
License: GPLv2 License: GPLv2
URL: https://github.com/fedora-sysv/chkconfig URL: https://github.com/fedora-sysv/chkconfig
Source0: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz 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 Conflicts: initscripts <= 5.30-1
Provides: ntsysv = %{version}-%{release} Provides: ntsysv = %{version}-%{release}
Obsoletes: 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" %make_build RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%check %check
#make check make check
%install %install
%make_install MANDIR=%{_mandir} SBINDIR=%{_sbindir} %make_install MANDIR=%{_mandir} SBINDIR=%{_sbindir}
@ -59,6 +59,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d
%{_mandir}/man8/* %{_mandir}/man8/*
%changelog %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 * Sat Aug 27 2022 yixiangzhike <yixiangzhike007@163.com> - 1.14-2
- fix coredump while parseServiceInfo return non-zero - fix coredump while parseServiceInfo return non-zero