Fix build

This commit is contained in:
Lubomir Rintel 2016-01-13 08:43:55 +01:00
parent 4d36648f3f
commit 54f22d82df

View File

@ -1,7 +1,7 @@
Summary: An enhanced version of csh, the C shell
Name: tcsh
Version: 6.19.00
Release: 3%{?dist}
Release: 4%{?dist}
License: BSD
Group: System Environment/Shells
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
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
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"
fi
done > tcsh.lang << _EOF
@ -132,6 +132,9 @@ fi
%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
- Add /bin/tcsh and /bin/csh to /etc/shells (#1229032)