specfile: macro style united to use %{buildroot} only
This commit is contained in:
parent
a86ba42e35
commit
4a1d3e4302
12
tcsh.spec
12
tcsh.spec
@ -113,14 +113,14 @@ make %{?_smp_mflags} -C nls catalogs
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 ${RPM_BUILD_ROOT}%{_bindir}
|
||||
install -p -m 755 tcsh ${RPM_BUILD_ROOT}%{_bindir}/tcsh
|
||||
install -p -m 644 tcsh.man ${RPM_BUILD_ROOT}%{_mandir}/man1/tcsh.1
|
||||
ln -sf tcsh ${RPM_BUILD_ROOT}%{_bindir}/csh
|
||||
ln -sf tcsh.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/csh.1
|
||||
mkdir -p %{buildroot}%{_mandir}/man1 %{buildroot}%{_bindir}
|
||||
install -p -m 755 tcsh %{buildroot}%{_bindir}/tcsh
|
||||
install -p -m 644 tcsh.man %{buildroot}%{_mandir}/man1/tcsh.1
|
||||
ln -sf tcsh %{buildroot}%{_bindir}/csh
|
||||
ln -sf tcsh.1 %{buildroot}%{_mandir}/man1/csh.1
|
||||
|
||||
while read lang language ; do
|
||||
dest=${RPM_BUILD_ROOT}%{_datadir}/locale/$lang/LC_MESSAGES
|
||||
dest=%{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES
|
||||
if test -f nls/$language.cat ; then
|
||||
mkdir -p $dest
|
||||
install -p -m 644 nls/$language.cat $dest/tcsh
|
||||
|
Loading…
Reference in New Issue
Block a user