diff options
Diffstat (limited to 'redhat/applications/tdesudo/tdesudo-14.0.0.spec')
-rw-r--r-- | redhat/applications/tdesudo/tdesudo-14.0.0.spec | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/redhat/applications/tdesudo/tdesudo-14.0.0.spec b/redhat/applications/tdesudo/tdesudo-14.0.0.spec index 741a77120..b46aaa9fc 100644 --- a/redhat/applications/tdesudo/tdesudo-14.0.0.spec +++ b/redhat/applications/tdesudo/tdesudo-14.0.0.spec @@ -93,33 +93,13 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} - - -## File lists -# HTML (1.0) -HTML_DIR=$(tde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - %find_lang %{tde_pkg} + %clean %__rm -rf %{buildroot} - %files -f %{tde_pkg}.lang %defattr(-,root,root,-) %{tde_bindir}/tdesudo |