[packages/php-gettext-pure] up to 1.0.11

glen glen at pld-linux.org
Sun Dec 1 00:54:03 CET 2013


commit 4addb8dba4740800bbec05d12954453cbb2a319f
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Dec 1 01:53:57 2013 +0200

    up to 1.0.11

 php-gettext-pure.spec | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/php-gettext-pure.spec b/php-gettext-pure.spec
index 3894d5c..e52111a 100644
--- a/php-gettext-pure.spec
+++ b/php-gettext-pure.spec
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_with		tests	# do not perform "make test"
+%bcond_without	tests	# do not perform "make test"
 
-%include	/usr/lib/rpm/macros.php
 %define		php_min_version 5.0.0
+%include	/usr/lib/rpm/macros.php
 Summary:	Pure PHP Implementation of gettext
 Summary(pl.UTF-8):	Implementacja gettexta w czystym PHP
 Name:		php-gettext-pure
-Version:	1.0.10
-Release:	3
+Version:	1.0.11
+Release:	1
 License:	GPL v2
 Group:		Development/Languages/PHP
 Source0:	http://launchpad.net/php-gettext/trunk/%{version}/+download/php-gettext-%{version}.tar.gz
-# Source0-md5:	dbae5ad3f7eab5cd4530768000f9b6be
+# Source0-md5:	c085ef92974358adb0faf9350f7973ec
 URL:		https://launchpad.net/php-gettext
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.461
@@ -61,6 +61,9 @@ plików MO, których nie chcemy trzymać w pamięci).
 %prep
 %setup -q -n php-gettext-%{version}
 
+# make it work for PHPUnit 3.7
+%{__sed} -i -e '/PHPUnit\/Framework.php/d' tests/*Test.php
+
 %build
 %{?with_tests:%{__make} check}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-gettext-pure.git/commitdiff/4addb8dba4740800bbec05d12954453cbb2a319f



More information about the pld-cvs-commit mailing list