[php-pear-Crypt-CHAP/el6/master] update to 1.5.0
Remi Collet
remi at fedoraproject.org
Sun Sep 19 06:34:46 UTC 2010
commit 92f26b721d6f3b0cd1f76245cf9aa39eb61bec39
Author: remi <fedora at famillecollet.com>
Date: Sun Sep 19 08:34:40 2010 +0200
update to 1.5.0
php-pear-Crypt-CHAP.spec | 22 ++++++++++++++++++----
sources | 2 +-
2 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/php-pear-Crypt-CHAP.spec b/php-pear-Crypt-CHAP.spec
index 9b50792..7201c64 100644
--- a/php-pear-Crypt-CHAP.spec
+++ b/php-pear-Crypt-CHAP.spec
@@ -2,23 +2,26 @@
%global pear_name Crypt_CHAP
Name: php-pear-Crypt-CHAP
-Version: 1.0.2
-Release: 2%{?dist}
+Version: 1.5.0
+Release: 1%{?dist}
Summary: Class to generate CHAP packets
Group: Development/Languages
License: BSD
URL: http://pear.php.net/package/Crypt_CHAP
Source0: http://pear.php.net/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.4.9-1.2
-Requires: php-pear(PEAR) php-mcrypt
+
+Requires: php-pear(PEAR)
+Requires: php-mcrypt >= 5.1.2
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(%{pear_name}) = %{version}
+
%description
This package provides Classes for generating CHAP packets.
Currently these types of CHAP are supported:
@@ -61,6 +64,13 @@ install -pm 644 %{name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
rm -rf $RPM_BUILD_ROOT
+%check
+cd %{pear_name}-%{version}
+PHPRC=../php.ini %{__pear} run-tests \
+ -i "-d include_path=%{buildroot}%{pear_phpdir}:%{pear_phpdir}" \
+ tests
+
+
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{name}.xml >/dev/null || :
@@ -80,6 +90,10 @@ fi
%changelog
+* Sun Sep 19 2010 Remi Collet <Fedora at FamilleCollet.com> - 1.5.0-1
+- upstream 1.5.0 with patches merged
+- run tests during %%check
+
* Thu Aug 26 2010 Remi Collet <Fedora at FamilleCollet.com> - 1.0.2-2
- clean define
- set date.timezone during build
diff --git a/sources b/sources
index de13293..c68ab0d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4175a1d5486f305831adba517009c253 Crypt_CHAP-1.0.2.tgz
+6706a6aad9a576a2f9a13b2d9c936e93 Crypt_CHAP-1.5.0.tgz
More information about the scm-commits
mailing list