summaryrefslogtreecommitdiffstats
path: root/php-horde-Horde-Editor.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-01-24 15:57:41 +0100
committerRemi Collet <fedora@famillecollet.com>2013-01-24 15:57:41 +0100
commit6ceb91b327f1843cd30b61fe86e14d1c653e2b47 (patch)
tree05ab73345399cbe7d7a9560c65f53551068a904c /php-horde-Horde-Editor.spec
parent03e5b0d4d379b5d0009a16fdfc23ac455b1a90ab (diff)
php-horde-Horde-Editor: use Alias for system JS
Diffstat (limited to 'php-horde-Horde-Editor.spec')
-rw-r--r--php-horde-Horde-Editor.spec22
1 files changed, 4 insertions, 18 deletions
diff --git a/php-horde-Horde-Editor.spec b/php-horde-Horde-Editor.spec
index 848f7d3..246fd8a 100644
--- a/php-horde-Horde-Editor.spec
+++ b/php-horde-Horde-Editor.spec
@@ -5,7 +5,7 @@
Name: php-horde-Horde-Editor
Version: 2.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Horde Editor API
Group: Development/Libraries
@@ -75,26 +75,11 @@ rm -rf %{buildroot}%{pear_metadir}/.??*
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
-# Create a symlink to system ckeditor
-# Can't be relative as hordedir defined somewhere else
-# I will prefer an Alias, but https://bugzilla.redhat.com/894567
-mkdir -p %{buildroot}%{pear_hordedir}/js
-ln -s %{_datadir}/ckeditor %{buildroot}%{pear_hordedir}/js/ckeditor
-
%clean
rm -rf %{buildroot}
-%pre
-# directory replace by a link
-lib=%{pear_hordedir}/js/ckeditor
-if [ -d $lib -a ! -L $lib ]
-then
- rm -rf $lib
-fi
-
-
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -112,10 +97,11 @@ fi
%{pear_xmldir}/%{name}.xml
%{pear_phpdir}/Horde/Editor
%{pear_phpdir}/Horde/Editor.php
-%dir %{pear_hordedir}/js
-%{pear_hordedir}/js/ckeditor
%changelog
+* Thu Jan 24 2013 Remi Collet <remi@fedoraproject.org> - 2.0.1-2
+- use Alias for system JS
+
* Sat Jan 12 2013 Remi Collet <remi@fedoraproject.org> - 2.0.1-1
- Initial package