summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kmymoney/kmymoney-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-07-23 13:24:21 +0200
committerFrançois Andriot <[email protected]>2013-07-23 13:24:21 +0200
commit700ec263535470631ef4f6fb816000500eb4227e (patch)
tree7aeb6931d9a5bf859131c2d5511913f5bbbf40a7 /redhat/applications/kmymoney/kmymoney-14.0.0.spec
parenta28a81a1e4d7de6ba67b1cd65d3f688582a0745e (diff)
downloadtde-packaging-700ec263535470631ef4f6fb816000500eb4227e.tar.gz
tde-packaging-700ec263535470631ef4f6fb816000500eb4227e.zip
RPM Packaging: remove old redhat macros
Diffstat (limited to 'redhat/applications/kmymoney/kmymoney-14.0.0.spec')
-rw-r--r--redhat/applications/kmymoney/kmymoney-14.0.0.spec20
1 files changed, 1 insertions, 19 deletions
diff --git a/redhat/applications/kmymoney/kmymoney-14.0.0.spec b/redhat/applications/kmymoney/kmymoney-14.0.0.spec
index 0c6bc66f0..6b85a3d02 100644
--- a/redhat/applications/kmymoney/kmymoney-14.0.0.spec
+++ b/redhat/applications/kmymoney/kmymoney-14.0.0.spec
@@ -154,27 +154,9 @@ 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 kmymoney2
+
%clean
%__rm -rf %{buildroot}