From 88e688f2557c2df4f47703f3b57778a767e597de Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Mon, 10 Sep 2018 15:28:59 +0200 Subject: [PATCH] 1.11 --- .gitignore | 1 + chkconfig.spec | 39 +++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index d9f9481..fe94f4c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /chkconfig-1.8.tar.bz2 /chkconfig-1.9.tar.gz /chkconfig-1.10.tar.gz +/chkconfig-1.11.tar.gz diff --git a/chkconfig.spec b/chkconfig.spec index c79f7bb..b03e94a 100644 --- a/chkconfig.spec +++ b/chkconfig.spec @@ -1,22 +1,24 @@ Summary: A system tool for maintaining the /etc/rc*.d hierarchy Name: chkconfig -Version: 1.10 -Release: 6%{?dist} +Version: 1.11 +Release: 1%{?dist} License: GPLv2 +Group: System Environment/Base URL: https://github.com/fedora-sysv/chkconfig Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: gcc -BuildRequires: newt-devel gettext popt-devel libselinux-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: newt-devel gettext popt-devel libselinux-devel beakerlib gcc Conflicts: initscripts <= 5.30-1 %description 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 +symbolic links in /etc/rc.d, to relieve system administrators of some of the drudgery of manually editing the symbolic links. %package -n ntsysv Summary: A tool to set the stop/start of system services in a runlevel +Group: System Environment/Base Requires: chkconfig = %{version}-%{release} %description -n ntsysv @@ -36,6 +38,7 @@ make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags} make check %install +rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} SBINDIR=%{_sbindir} install mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d @@ -48,7 +51,12 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d %find_lang %{name} +%clean +rm -rf $RPM_BUILD_ROOT + %files -f %{name}.lang +%defattr(-,root,root) +%{!?_licensedir:%global license %%doc} %license COPYING %dir /etc/alternatives /sbin/chkconfig @@ -67,25 +75,16 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d %{_prefix}/lib/systemd/systemd-sysv-install %files -n ntsysv +%defattr(-,root,root) %{_sbindir}/ntsysv %{_mandir}/*/ntsysv.8* %changelog -* Fri Jul 13 2018 Lukas Slebodnik - 1.10-6 -- Add gcc to Buildroot -- https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot - -* Thu Jul 12 2018 Fedora Release Engineering - 1.10-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 1.10-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 1.10-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild +* Mon Sep 10 2018 Lukas Nykryn - 1.11-1 +- Add tests for --add/remove-slave and use beakerlib +- alternatives: add-slave and remove-slave +- leveldb: don't crash on long names +- alternatives: prettier --list output * Fri Apr 21 2017 Lukáš Nykrýn - 1.10-1 - Introduce --remove-all option diff --git a/sources b/sources index bf06e4a..8058f6d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (chkconfig-1.10.tar.gz) = 933024f1a630c7b1e5d4488c5ddc9d65571b175c4f94dc5598d1b704e394a54cefa24914b390ac51290b430db45fe3e83db209883b5c6d65351ef491f22ba40f +SHA512 (chkconfig-1.11.tar.gz) = e2b3e8469171de5bbe240fc168a7add214739f0c4ff1c810b0e112315d5a9babdff0991e1d50bff34a6abfab19f9e5664fad28f9f062d395439ae770d4f1b65d