Fix build
This commit is contained in:
parent
4d36648f3f
commit
54f22d82df
@ -1,7 +1,7 @@
|
|||||||
Summary: An enhanced version of csh, the C shell
|
Summary: An enhanced version of csh, the C shell
|
||||||
Name: tcsh
|
Name: tcsh
|
||||||
Version: 6.19.00
|
Version: 6.19.00
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Shells
|
Group: System Environment/Shells
|
||||||
Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz
|
||||||
@ -65,9 +65,9 @@ ln -sf tcsh.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/csh.1
|
|||||||
|
|
||||||
while read lang language ; do
|
while read lang language ; do
|
||||||
dest=${RPM_BUILD_ROOT}%{_datadir}/locale/$lang/LC_MESSAGES
|
dest=${RPM_BUILD_ROOT}%{_datadir}/locale/$lang/LC_MESSAGES
|
||||||
if test -f tcsh.$language.cat ; then
|
if test -f nls/$language.cat ; then
|
||||||
mkdir -p $dest
|
mkdir -p $dest
|
||||||
install -p -m 644 tcsh.$language.cat $dest/tcsh
|
install -p -m 644 nls/$language.cat $dest/tcsh
|
||||||
echo "%lang($lang) %{_datadir}/locale/$lang/LC_MESSAGES/tcsh"
|
echo "%lang($lang) %{_datadir}/locale/$lang/LC_MESSAGES/tcsh"
|
||||||
fi
|
fi
|
||||||
done > tcsh.lang << _EOF
|
done > tcsh.lang << _EOF
|
||||||
@ -132,6 +132,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 23 2016 Lubomir Rintel <lkundrak@v3.sk> - 6.19.00-04
|
||||||
|
- Fix build
|
||||||
|
|
||||||
* Tue Jun 16 2015 Fridolin Pokorny <fpokorny@redhat.com> - 6.19.00-03
|
* Tue Jun 16 2015 Fridolin Pokorny <fpokorny@redhat.com> - 6.19.00-03
|
||||||
- Add /bin/tcsh and /bin/csh to /etc/shells (#1229032)
|
- Add /bin/tcsh and /bin/csh to /etc/shells (#1229032)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user