summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-07-29 18:15:52 +0200
committerRemi Collet <fedora@famillecollet.com>2013-07-29 18:15:52 +0200
commit1228496ec8f674d0832bad2e1735d94a4ed215b4 (patch)
treec94190d9c887be13f5d83b9dd30fc7ec4fb3f2e0
parentd7f8ad890d7a131e31ab157bb69ae2ef8be033f7 (diff)
php-phpunit-PHP-TokenStream: 1.1.7
-rw-r--r--php-phpunit-PHP-TokenStream.spec33
1 files changed, 20 insertions, 13 deletions
diff --git a/php-phpunit-PHP-TokenStream.spec b/php-phpunit-PHP-TokenStream.spec
index 280343b..169ce6a 100644
--- a/php-phpunit-PHP-TokenStream.spec
+++ b/php-phpunit-PHP-TokenStream.spec
@@ -1,10 +1,9 @@
-%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name PHP_TokenStream
%global channel pear.phpunit.de
Name: php-phpunit-PHP-TokenStream
-Version: 1.1.5
+Version: 1.1.7
Release: 1%{?dist}
Summary: Wrapper around PHP tokenizer extension
@@ -12,15 +11,19 @@ Group: Development/Libraries
License: BSD
URL: http://github.com/sebastianbergmann/php-token-stream
Source0: http://pear.phpunit.de/get/%{pear_name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: php-pear >= 1:1.9.4
+BuildRequires: php(language) >= 5.3.3
+BuildRequires: php-pear
BuildRequires: php-channel(%{channel})
-Requires: php-channel(%{channel})
-Requires: php-common >= 5.2.7
+
+Requires: php(language) >= 5.3.3
+Requires: php-pcre
+Requires: php-spl
Requires: php-tokenizer
-Requires: php-pear(components.ez.no/ConsoleTools) >= 1.6
+Requires: php-pear
+Requires: php-channel(%{channel})
Requires(post): %{__pear}
Requires(postun): %{__pear}
@@ -30,6 +33,7 @@ Provides: php-pear(%{channel}/%{pear_name}) = %{version}
%description
Wrapper around PHP tokenizer extension.
+
%prep
%setup -q -c
cd %{pear_name}-%{version}
@@ -42,20 +46,20 @@ cd %{pear_name}-%{version}
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
cd %{pear_name}-%{version}
-%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
# Install XML package description
-mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
-install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
+mkdir -p %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post
@@ -77,6 +81,9 @@ fi
%{pear_phpdir}/PHP
%changelog
+* Mon Jul 29 2013 Remi Collet <remi@fedoraproject.org> - 1.1.7-1
+- Update to 1.1.7
+
* Sat Oct 6 2012 Remi Collet <RPMS@FamilleCollet.com> - 1.1.5-1
- upstream 1.1.5