diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-03-27 15:06:40 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-03-27 15:06:40 +0100 |
commit | a82b8912f15bfc4cb36eb81dfe212dfd39fdc021 (patch) | |
tree | bd58779984d7855b84c8e7f5011c5986d1697588 /php-horde-Horde-Feed.spec | |
parent | 3d0c7167a27652feda269858f62fb19a846646ec (diff) |
php-horde-Horde-Feed : new package
Diffstat (limited to 'php-horde-Horde-Feed.spec')
-rw-r--r-- | php-horde-Horde-Feed.spec | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/php-horde-Horde-Feed.spec b/php-horde-Horde-Feed.spec index 3d570d3..8fd0339 100644 --- a/php-horde-Horde-Feed.spec +++ b/php-horde-Horde-Feed.spec @@ -30,23 +30,24 @@ Requires: php-dom Requires: php-libxml Requires: php-pear(PEAR) >= 1.7.0 Requires: php-pear(%{pear_channel}/Horde_Exception) >= 2.0.0 -Requires: php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0 +Conflicts: php-pear(%{pear_channel}/Horde_Exception) >= 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Http) >= 2.0.0 -Requires: php-pear(%{pear_channel}/Horde_Http) >= 3.0.0 +Conflicts: php-pear(%{pear_channel}/Horde_Http) >= 3.0.0 Requires: php-pear(%{pear_channel}/Horde_Xml_Element) >= 2.0.0 -Requires: php-pear(%{pear_channel}/Horde_Xml_Element) >= 3.0.0 -Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} +Conflicts: php-pear(%{pear_channel}/Horde_Xml_Element) >= 3.0.0 Requires: php-channel(%{pear_channel}) +Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} + + %description Support for working with feed formats such as RSS and Atom. + %prep %setup -q -c -[ -f package2.xml ] || mv package.xml package2.xml -mv package2.xml %{pear_name}-%{version}/%{name}.xml - cd %{pear_name}-%{version} +mv ../package.xml %{name}.xml %build @@ -67,7 +68,7 @@ mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} # fix rpmlint warning, fix shebang -for fic in %{buildroot}%{pear_docdir}/%{pear_name}/examples/*.php +for fic in %{buildroot}%{pear_docdir}/%{pear_name}/examples/*.php do sed -e 's:@php_bin@:%{_bindir}/php:' -i $fic done |