|
@@ -1,7 +1,7 @@
|
|
Summary: A system tool for maintaining the /etc/rc*.d hierarchy.
|
|
Summary: A system tool for maintaining the /etc/rc*.d hierarchy.
|
|
Summary(ja): /etc/rc.d の階層をメンテナンスするためのシステムツール
|
|
Summary(ja): /etc/rc.d の階層をメンテナンスするためのシステムツール
|
|
Name: chkconfig
|
|
Name: chkconfig
|
|
-Version: 1.3.60
|
|
+Version: 1.3.61
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: GPL
|
|
License: GPL
|
|
Group: System Environment/Base
|
|
Group: System Environment/Base
|
|
@@ -9,7 +9,6 @@ Source: %{name}-%{version}.tar.bz2
|
|
Source2: chkconfig.8
|
|
Source2: chkconfig.8
|
|
Source3: ntsysv.8
|
|
Source3: ntsysv.8
|
|
Source4: update-alternatives.ja.8
|
|
Source4: update-alternatives.ja.8
|
|
-Patch0: 0001-translation-updates-from-TX.patch
|
|
|
|
Patch1: chkconfig-1.3.51-vine.patch
|
|
Patch1: chkconfig-1.3.51-vine.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: newt-devel
|
|
BuildRequires: newt-devel
|
|
@@ -59,7 +58,6 @@ maintain symbolic links determining default commands (from Debian dpkg utilities
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
%patch1 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -91,12 +89,20 @@ mkdir -p $RPM_BUILD_ROOT/var/lib/rpm/alternatives
|
|
install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/ja/man8/alternatives.8
|
|
install -m644 %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/ja/man8/alternatives.8
|
|
ln -sf alternatives.8.gz $RPM_BUILD_ROOT%{_mandir}/ja/man8/update-alternatives.8.gz
|
|
ln -sf alternatives.8.gz $RPM_BUILD_ROOT%{_mandir}/ja/man8/update-alternatives.8.gz
|
|
|
|
|
|
|
|
+# create compat symlinks
|
|
|
|
+mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
|
|
|
+for i in alternatives update-alternatives chkconfig
|
|
|
|
+do
|
|
|
|
+ ln -sf /sbin/$i $RPM_BUILD_ROOT/%{_sbindir}/$i
|
|
|
|
+done
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
/sbin/chkconfig
|
|
/sbin/chkconfig
|
|
|
|
+%{_sbindir}/chkconfig
|
|
/etc/init.d
|
|
/etc/init.d
|
|
/etc/rc.d/init.d
|
|
/etc/rc.d/init.d
|
|
/etc/rc[0-6].d
|
|
/etc/rc[0-6].d
|
|
@@ -107,7 +113,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -n ntsysv
|
|
%files -n ntsysv
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-/usr/sbin/ntsysv
|
|
+%{_sbindir}/ntsysv
|
|
%{_mandir}/*/ntsysv.8*
|
|
%{_mandir}/*/ntsysv.8*
|
|
%{_mandir}/ja/*/ntsysv.8*
|
|
%{_mandir}/ja/*/ntsysv.8*
|
|
|
|
|
|
@@ -115,6 +121,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
%defattr (-, root, root)
|
|
%defattr (-, root, root)
|
|
/sbin/alternatives
|
|
/sbin/alternatives
|
|
/sbin/update-alternatives
|
|
/sbin/update-alternatives
|
|
|
|
+%{_sbindir}/alternatives
|
|
|
|
+%{_sbindir}/update-alternatives
|
|
%{_sysconfdir}/alternatives
|
|
%{_sysconfdir}/alternatives
|
|
%{_mandir}/man8/*
|
|
%{_mandir}/man8/*
|
|
%{_mandir}/ja/man8/*
|
|
%{_mandir}/ja/man8/*
|
|
@@ -122,6 +130,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Nov 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.61-1
|
|
|
|
+- update to 1.3.61
|
|
|
|
+- create compat symlinks in %%{_sbindir}
|
|
|
|
+
|
|
* Thu Jun 06 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.60-1
|
|
* Thu Jun 06 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.60-1
|
|
- update to 1.3.60
|
|
- update to 1.3.60
|
|
|
|
|