diff options
author | Bill Nottingham <notting@redhat.com> | 2001-01-11 23:00:12 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-01-11 23:00:12 +0000 |
commit | b3fed3202c21ae3ac2c326eceff78662cc5d28f2 (patch) | |
tree | b9aaec87f535f7bee9e25b500fa1c3cf2c8ebc54 /initscripts.spec | |
parent | 0a31e4ec38a7d1cf69b5d65f9923cf450244b02b (diff) | |
download | initscripts-b3fed3202c21ae3ac2c326eceff78662cc5d28f2.tar initscripts-b3fed3202c21ae3ac2c326eceff78662cc5d28f2.tar.gz initscripts-b3fed3202c21ae3ac2c326eceff78662cc5d28f2.tar.bz2 initscripts-b3fed3202c21ae3ac2c326eceff78662cc5d28f2.tar.xz initscripts-b3fed3202c21ae3ac2c326eceff78662cc5d28f2.zip |
%langify
Diffstat (limited to 'initscripts.spec')
-rw-r--r-- | initscripts.spec | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec index 57aab42e..6983eae5 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -75,6 +75,21 @@ touch $RPM_BUILD_ROOT/var/log/wtmp mkdir -p $RPM_BUILD_ROOT/etc/locale cp -a $RPM_BUILD_ROOT/usr/share/locale/* $RPM_BUILD_ROOT/etc/locale +pushd %{buildroot}/%{_datadir}/locale +for foo in * ; do + echo "%lang($foo) %{_datadir}/locale/$foo/*/*" >> \ + $RPM_BUILD_DIR/%{name}-%{version}/trans.list +done +popd + +pushd %{buildroot}/etc/locale +for foo in * ; do + echo "%lang($foo) %{_datadir}/locale/$foo/*/*" >> \ + $RPM_BUILD_DIR/%{name}-%{version}/trans.list +done +popd + + %pre /usr/sbin/groupadd -g 22 -r -f utmp @@ -225,8 +240,6 @@ rm -rf $RPM_BUILD_ROOT /sbin/service /sbin/ppp-watch %{_mandir}/man*/* -/etc/locale/*/*/*.mo -/usr/share/locale/*/*/*.mo %dir %attr(775,root,root) /var/run/netreport %config /etc/ppp/ip-up %config /etc/ppp/ip-down |