diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-02-12 09:37:29 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-02-12 09:37:29 +0100 |
commit | bbc10ce4fc054b99a1ea0686a169b890e7e0c6e2 (patch) | |
tree | 0d8c21659e51f226f9155f872eb99afd9a02307c | |
parent | 7ca15470fba6f4cd18f7d308a0c9bac0caa21e0b (diff) |
horde packages cleanups
-rw-r--r-- | php-horde-Horde-Exception.spec | 11 |
1 files 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 |