From bbc10ce4fc054b99a1ea0686a169b890e7e0c6e2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 12 Feb 2013 09:37:29 +0100 Subject: horde packages cleanups --- php-horde-Horde-Exception.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/php-horde-Horde-Exception.spec b/php-horde-Horde-Exception.spec index fbb7d1f..fa76e11 100644 --- a/php-horde-Horde-Exception.spec +++ b/php-horde-Horde-Exception.spec @@ -12,7 +12,7 @@ Summary: Horde Exception Handler Group: Development/Libraries License: LGPLv2 -URL: http://pear.horde.org +URL: http://%{pear_channel} Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root @@ -35,7 +35,7 @@ Requires: php-channel(%{pear_channel}) Requires: php-pear(%{pear_channel}/Horde_Translation) >= 2.0.0 Conflicts: php-pear(%{pear_channel}/Horde_Translation) >= 3.0.0 -Provides: php-pear(%{pear_channel}/Horde_Exception) = %{version} +Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} %description @@ -77,6 +77,7 @@ rm -rf %{buildroot}%{pear_metadir}/.??* mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} +# Locales for loc in locale/{??,??_??} do lang=$(basename $loc) @@ -114,9 +115,9 @@ fi %{pear_xmldir}/%{name}.xml %{pear_phpdir}/Horde/Exception %{pear_phpdir}/Horde/Exception.php -%dir %{pear_datadir}/Horde_Exception -%dir %{pear_datadir}/Horde_Exception/locale -%{pear_testdir}/Horde_Exception +%dir %{pear_datadir}/%{pear_name} +%dir %{pear_datadir}/%{pear_name}/locale +%{pear_testdir}/%{pear_name} %changelog -- cgit