upgrade to 1.15
This commit is contained in:
parent
a942ee7b53
commit
1252a3bb9d
Binary file not shown.
BIN
chkconfig-1.15.tar.gz
Normal file
BIN
chkconfig-1.15.tar.gz
Normal file
Binary file not shown.
@ -1,21 +1,20 @@
|
||||
Summary: A system tool for maintaining the /etc/rc*.d hierarchy
|
||||
Name: chkconfig
|
||||
Version: 1.14
|
||||
Release: 2
|
||||
Summary: chkconfig updates and queries runlevel information for system services
|
||||
Version: 1.15
|
||||
Release: 1
|
||||
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 beakerlib
|
||||
Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: newt-devel gettext popt-devel libselinux-devel beakerlib gcc systemd-devel make
|
||||
Conflicts: initscripts <= 5.30-1
|
||||
Provides: ntsysv = %{version}-%{release}
|
||||
Obsoletes: ntsysv < %{version}-%{release}
|
||||
|
||||
%description
|
||||
chkconfig provides a simple command-line tool for maintaining
|
||||
the /etc/rc[0-6].d directory hierarchy by relieving system
|
||||
administrators of the task of directly manipulating the numerous
|
||||
symbolic links in those directories.
|
||||
Chkconfig is a basic system utility. It updates and queries runlevel
|
||||
information for system services. Chkconfig manipulates the numerous
|
||||
symbolic links in /etc/rc.d, to relieve system administrators of some
|
||||
of the drudgery of manually editing the symbolic links.
|
||||
|
||||
%package_help
|
||||
|
||||
@ -31,15 +30,13 @@ make check
|
||||
%install
|
||||
%make_install MANDIR=%{_mandir} SBINDIR=%{_sbindir}
|
||||
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
|
||||
for i in {0..6};do
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc${i}.d
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||
ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
|
||||
for n in 0 1 2 3 4 5 6; do
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc${n}.d
|
||||
ln -s rc.d/rc${n}.d $RPM_BUILD_ROOT/etc/rc${n}.d
|
||||
done
|
||||
ln -s rc.d/init.d %{buildroot}%{_sysconfdir}/init.d
|
||||
for i in {0..6};do
|
||||
ln -s rc.d/rc${i}.d %{buildroot}%{_sysconfdir}/rc${i}.d
|
||||
done
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d
|
||||
|
||||
%files
|
||||
%dir %{_sysconfdir}/alternatives
|
||||
@ -57,6 +54,10 @@ mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
|
||||
* Thur Jul 8 2021 duyiwei <duyiwei@kylinos.cn> - 1.15-1
|
||||
- Update to 1.15
|
||||
|
||||
* Mon Aug 31 2020 wangchen <wangchen137@huawei.com> - 1.14-2
|
||||
- Open make check because beakerlib exist
|
||||
|
||||
@ -68,3 +69,4 @@ mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d
|
||||
|
||||
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.10-7
|
||||
- Package Init
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user