From 9889a9cd6401ace6530fd00eb114ee66687c2f4c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Feb 13 2007 21:15:18 +0000 Subject: 1.3.33-1 --- diff --git a/.cvsignore b/.cvsignore index a85952b..bfd2f75 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -chkconfig-1.3.32.tar.gz +chkconfig-1.3.33.tar.gz diff --git a/chkconfig.spec b/chkconfig.spec index 3b18824..33b920f 100644 --- a/chkconfig.spec +++ b/chkconfig.spec @@ -1,12 +1,12 @@ Summary: A system tool for maintaining the /etc/rc*.d hierarchy Name: chkconfig -Version: 1.3.32 +Version: 1.3.33 Release: 1 License: GPL Group: System Environment/Base Source: %{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildPrereq: newt newt-devel gettext +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: newt-devel gettext Conflicts: initscripts <= 5.30-1 %description @@ -18,7 +18,7 @@ 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} +Requires: chkconfig = %{version}-%{release} %description -n ntsysv Ntsysv provides a simple interface for setting which system services @@ -32,15 +32,11 @@ page), ntsysv configures the current runlevel (5 if you're using X). %build -%ifarch sparc -LIBMHACK=-lm -%endif - -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LIBMHACK=$LIBMHACK +make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT -make instroot=$RPM_BUILD_ROOT MANDIR=%{_mandir} install +make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} SBINDIR=%{_sbindir} install mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d @@ -59,8 +55,8 @@ rm -rf $RPM_BUILD_ROOT %doc COPYING %dir /etc/alternatives /sbin/chkconfig -/usr/sbin/update-alternatives -/usr/sbin/alternatives +%{_sbindir}/update-alternatives +%{_sbindir}/alternatives /etc/init.d /etc/rc.d/init.d /etc/rc[0-6].d @@ -72,10 +68,14 @@ rm -rf $RPM_BUILD_ROOT %files -n ntsysv %defattr(-,root,root) -/usr/sbin/ntsysv +%{_sbindir}/ntsysv %{_mandir}/*/ntsysv.8* %changelog +* Tue Feb 6 2007 Bill Nottingham 1.3.33-1 +- various changes from review - support alternate %%{_sbindir}, fix + summaries, add version to requires, assorted other bits + * Fri Feb 2 2007 Bill Nottingham 1.3.32-1 - support overriding various defaults via /etc/chkconfig.d () @@ -313,10 +313,10 @@ rm -rf $RPM_BUILD_ROOT - bump copyright date * Tue Jul 11 2000 Bill Nottingham -- no %pre today. Maybe tomorrow. +- no %%pre today. Maybe tomorrow. * Thu Jul 6 2000 Bill Nottingham -- put initscripts %pre here too +- put initscripts %%pre here too * Mon Jul 3 2000 Bill Nottingham - oops, if we don't prereq initscripts, we *need* to own /etc/rc[0-6].d diff --git a/sources b/sources index 5e06139..8790891 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0c4fe70326998d03f08e9d67059d3816 chkconfig-1.3.32.tar.gz +4cf0b1ec8facfabb543290d32ebb6bb5 chkconfig-1.3.33.tar.gz