aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
committerBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
commita4a25465cd2844d72bf518188b813c009450f505 (patch)
tree25ca5df7db282aa4202813aba3c0e18083927c25 /initscripts.spec
parentbee84f538da8b1d5885975c119bfd7fd5ae7e9a3 (diff)
downloadinitscripts-a4a25465cd2844d72bf518188b813c009450f505.tar
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.gz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.bz2
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.xz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.zip
change i18n stuff around; don't call gettext explicitly, just do echo $"some string"
Diffstat (limited to 'initscripts.spec')
-rw-r--r--initscripts.spec19
1 files changed, 9 insertions, 10 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 0e2c314b..350f4398 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/init.d scripts.
Name: initscripts
-Version: 5.56
+Version: 5.57
Copyright: GPL
Group: System Environment/Base
Release: 1
@@ -11,7 +11,7 @@ Requires: procps >= 2.0.6-5, sysklogd >= 1.3.31
Requires: setup >= 2.0.3, /sbin/fuser, which
Requires: modutils >= 2.3.11-5
Requires: util-linux >= 2.10
-Requires: gettext >= 0.10.35-25
+Requires: bash >= 2.0
Conflicts: kernel <= 2.2, timeconfig < 3.0, pppd < 2.3.9, wvdial < 1.40-3
Conflicts: initscripts < 1.22.1-5 ypbind < 1.6-12
Obsoletes: rhsound sapinit
@@ -72,25 +72,24 @@ mkdir -p $RPM_BUILD_ROOT/var/{log,run}
touch $RPM_BUILD_ROOT/var/run/utmp
touch $RPM_BUILD_ROOT/var/log/wtmp
-# Put this stuff in /etc/locale too
-mkdir -p $RPM_BUILD_ROOT/etc/locale
-cp -a $RPM_BUILD_ROOT/usr/share/locale/* $RPM_BUILD_ROOT/etc/locale
+# Put this stuff in /usr/share/locale too
+mkdir -p $RPM_BUILD_ROOT/usr/share/locale
+cp -a $RPM_BUILD_ROOT/etc/locale/* $RPM_BUILD_ROOT/usr/share/locale/
pushd %{buildroot}/%{_datadir}/locale
for foo in * ; do
- echo "%lang($foo) %{_datadir}/locale/$foo/*/*" >> \
+ echo "%lang($foo) %{_datadir}/locale/$foo/*/*" >> \
$RPM_BUILD_DIR/%{name}-%{version}/trans.list
done
popd
-pushd %{buildroot}/etc/locale
+pushd %{buildroot}/etc/locale
for foo in * ; do
- echo "%lang($foo) %{_datadir}/locale/$foo/*/*" >> \
+ echo "%lang($foo) /etc/locale/$foo/*/*" >> \
$RPM_BUILD_DIR/%{name}-%{version}/trans.list
done
popd
-
%pre
/usr/sbin/groupadd -g 22 -r -f utmp
@@ -183,7 +182,7 @@ fi
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -f trans.list
%defattr(-,root,root)
%dir /etc/sysconfig/network-scripts
%config(noreplace) %verify(not md5 mtime size) /etc/adjtime