Fix make check failed for lacking beaklib
This commit is contained in:
parent
a1e80d2fcd
commit
394e78efb2
@ -1,12 +1,12 @@
|
|||||||
Name: chkconfig
|
Name: chkconfig
|
||||||
Version: 1.14
|
Version: 1.14
|
||||||
Release: 1
|
Release: 2
|
||||||
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}
|
||||||
@ -26,7 +26,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}
|
||||||
@ -57,6 +57,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d
|
|||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 31 2020 wangchen <wangchen137@huawei.com> - 1.14-2
|
||||||
|
- Open make check because beakerlib exist
|
||||||
|
|
||||||
* Fri Jul 31 2020 wangchen <wangchen137@huawei.com> - 1.14-1
|
* Fri Jul 31 2020 wangchen <wangchen137@huawei.com> - 1.14-1
|
||||||
- Update to 1.14
|
- Update to 1.14
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user