diff options
-rw-r--r-- | php-horde-Horde-Constraint.spec | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/php-horde-Horde-Constraint.spec b/php-horde-Horde-Constraint.spec index f4fbd5c..67bff0d 100644 --- a/php-horde-Horde-Constraint.spec +++ b/php-horde-Horde-Constraint.spec @@ -1,13 +1,24 @@ -%{!?pear_metadir: %global pear_metadir %{pear_phpdir}} -%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} +# spec file for php-horde-Horde-Constraint +# +# Copyright (c) 2012-2015 Nick Bebout, Remi Collet +# +# License: MIT +# https://fedoraproject.org/wiki/Licensing:MIT#Modern_Style_with_sublicense +# +# Please, preserve the changelog entries +# +%{!?__pear: %global __pear %{_bindir}/pear} +%global bootstrap 0 %global pear_name Horde_Constraint %global pear_channel pear.horde.org - -# Can run test because of circular dependency with Horde_Test +%if %{bootstrap} %global with_tests %{?_with_tests:1}%{!?_with_tests:0} +%else +%global with_tests %{?_without_tests:0}%{!?_without_tests:1} +%endif Name: php-horde-Horde-Constraint -Version: 2.0.1 +Version: 2.0.2 Release: 1%{?dist} Summary: Horde Constraint library @@ -33,6 +44,7 @@ BuildRequires: php-pear(PEAR) >= 1.7.0 Requires: php-channel(%{pear_channel}) Provides: php-pear(%{pear_channel}/%{pear_name}) = %{version} +Provides: php-composer(horde/horde-constraint) = %{version} %description @@ -67,10 +79,7 @@ install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} %check %if %{with_tests} cd %{pear_name}-%{version}/test/$(echo %{pear_name} | sed -e s:_:/:g) -phpunit\ - -d include_path=%{buildroot}%{pear_phpdir}:.:%{pear_phpdir} \ - -d date.timezone=UTC \ - . +phpunit . %else : Test disabled, missing '--with tests' option. %endif @@ -97,6 +106,10 @@ fi %changelog +* Thu Jan 08 2015 Remi Collet <remi@fedoraproject.org> - 2.0.2-1 +- Update to 2.0.2 (no change) +- add provides php-composer(horde/horde-constraint) + * Mon Nov 19 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.0.1-1 - Update to 2.0.1 for remi repo |