summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-11-04 17:48:12 +0100
committerRemi Collet <fedora@famillecollet.com>2012-11-04 17:48:12 +0100
commit30e6ae93beb57cc796584d26e2a9aa75447c19a2 (patch)
tree8269d6c2473508b5de5c8fb8ba07257b17e6d934
parent224dcdc9bf27b2fca7859b8bb40d26358daba337 (diff)
php-horde-turba: new package
-rw-r--r--php-horde-Horde-Cli.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/php-horde-Horde-Cli.spec b/php-horde-Horde-Cli.spec
index 190c385..f4cc0cd 100644
--- a/php-horde-Horde-Cli.spec
+++ b/php-horde-Horde-Cli.spec
@@ -67,12 +67,14 @@ rm -rf %{buildroot}%{pear_metadir}/.??*
# Install XML package description
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+
%if 0%{?fedora} > 13 || 0%{?rhel} > 6
%find_lang %{pear_name}
%else
sh %{SOURCE1} %{buildroot} %{pear_name}
%endif
+
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :