summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-01-24 16:00:03 +0100
committerRemi Collet <fedora@famillecollet.com>2013-01-24 16:00:03 +0100
commit698cafba6640079c7b8f47e1f1e382c12f97df61 (patch)
tree384cf4a9fb197be526993ce76f5817e8db8f858e
parent88eeea02fc6ae8c525d1759b5a4500360a46e00b (diff)
php-horde-Horde-Mime-Viewer: use Alias for system JS
-rw-r--r--php-horde-Horde-Mime-Viewer.spec22
1 files changed, 4 insertions, 18 deletions
diff --git a/php-horde-Horde-Mime-Viewer.spec b/php-horde-Horde-Mime-Viewer.spec
index a424cac..2ca32c1 100644
--- a/php-horde-Horde-Mime-Viewer.spec
+++ b/php-horde-Horde-Mime-Viewer.spec
@@ -5,7 +5,7 @@
Name: php-horde-Horde-Mime-Viewer
Version: 2.0.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Horde MIME Viewer Library
Group: Development/Libraries
@@ -101,20 +101,6 @@ do
&& echo "%%lang(${lang%_*}) %{pear_datadir}/%{pear_name}/$loc"
done | tee ../%{pear_name}.lang
-# Create a symlink to system ckeditor
-# Can't be relative as hordedir defined somewhere else
-mkdir -p %{buildroot}%{pear_hordedir}/js
-ln -s %{_datadir}/syntaxhighlighter %{buildroot}%{pear_hordedir}/js/syntaxhighlighter
-
-
-%pre
-# directory replace by a link
-lib=%{pear_hordedir}/js/syntaxhighlighter
-if [ -d $lib -a ! -L $lib ]
-then
- rm -rf $lib
-fi
-
%post
%{__pear} install --nodeps --soft --force --register-only \
@@ -136,12 +122,12 @@ fi
%{pear_testdir}/%{pear_name}
%dir %{pear_datadir}/%{pear_name}
%dir %{pear_datadir}/%{pear_name}/locale
-# Web files
-%dir %{pear_hordedir}/js
-%{pear_hordedir}/js/syntaxhighlighter
%changelog
+* Thu Jan 24 2013 Remi Collet <remi@fedoraproject.org> - 2.0.2-3
+- use Alias for system JS
+
* Tue Jan 15 2013 Remi Collet <remi@fedoraproject.org> - 2.0.2-2
- use system syntaxhighlighter