[php-Pimple] Updated to 1.1.1 (BZ #1061119)
Shawn Iwinski
siwinski at fedoraproject.org
Sun Feb 16 02:59:31 UTC 2014
commit 958fad8b81f25abbebef9d2ecc2a1a2de8295aea
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date: Sat Feb 15 22:00:02 2014 -0500
Updated to 1.1.1 (BZ #1061119)
.gitignore | 1 +
php-Pimple.spec | 21 +++++++++++++--------
sources | 1 +
3 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8855e9f..c6dd6e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/v1.0.1.tar.gz
/php-Pimple-1.0.2-ae11e57e8c2bb414b2ff93396dbbfc0eb92feb94.tar.gz
/php-Pimple-1.1.0-471c7d7c52ad6594e17b8ec33efdd1be592b5d83.tar.gz
+/php-Pimple-1.1.1-2019c145fe393923f3441b23f29bbdfaa5c58c4d.tar.gz
diff --git a/php-Pimple.spec b/php-Pimple.spec
index 5b2271c..4239de4 100644
--- a/php-Pimple.spec
+++ b/php-Pimple.spec
@@ -1,13 +1,13 @@
%global github_owner fabpot
%global github_name Pimple
-%global github_version 1.1.0
-%global github_commit 471c7d7c52ad6594e17b8ec33efdd1be592b5d83
+%global github_version 1.1.1
+%global github_commit 2019c145fe393923f3441b23f29bbdfaa5c58c4d
%global php_min_ver 5.3.0
Name: php-%{github_name}
Version: %{github_version}
-Release: 4%{?dist}
+Release: 1%{?dist}
Summary: A simple dependency injection container for PHP
Group: Development/Libraries
@@ -18,11 +18,11 @@ Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{githu
BuildArch: noarch
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: php-pear(pear.phpunit.de/PHPUnit)
-# phpci
+# phpcompatinfo (computed from v1.1.1)
BuildRequires: php-spl
Requires: php(language) >= %{php_min_ver}
-# phpci
+# phpcompatinfo (computed from v1.1.1)
Requires: php-spl
%description
@@ -31,7 +31,7 @@ just one file and one class.
%prep
-%setup -q -n %{github_name}-%{github_commit}
+%setup -qn %{github_name}-%{github_commit}
%build
@@ -39,12 +39,14 @@ just one file and one class.
%install
-mkdir -p -m 755 %{buildroot}%{_datadir}/php/%{github_name}
+mkdir -pm 0755 %{buildroot}%{_datadir}/php/%{github_name}
cp -pr lib/* %{buildroot}%{_datadir}/php/%{github_name}/
-
%check
+# Create PHPUnit config w/ colors turned off
+sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml
+
%{_bindir}/phpunit --include-path="./lib:./tests"
@@ -54,6 +56,9 @@ cp -pr lib/* %{buildroot}%{_datadir}/php/%{github_name}/
%changelog
+* Sat Feb 15 2014 Shawn Iwinski <shawn.iwinski at gmail.com> 1.1.1-1
+- Updated to 1.1.1 (BZ #1061119)
+
* Thu Nov 21 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.1.0-4
- Reverted invalid PSR-0
- Updated %%check to use PHPUnit's "--include-path" option
diff --git a/sources b/sources
index 5940737..27f55cd 100644
--- a/sources
+++ b/sources
@@ -2,3 +2,4 @@
8930500988568d1e38a51ad9e17d060e v1.0.1.tar.gz
b5809ffd55ca56418bfa71eac5bcaf53 php-Pimple-1.0.2-ae11e57e8c2bb414b2ff93396dbbfc0eb92feb94.tar.gz
82b48798bd2014ba9595186035c654cb php-Pimple-1.1.0-471c7d7c52ad6594e17b8ec33efdd1be592b5d83.tar.gz
+c0eb6a02bbd67fd669bdb587ffdf84dd php-Pimple-1.1.1-2019c145fe393923f3441b23f29bbdfaa5c58c4d.tar.gz
More information about the scm-commits
mailing list