[php-pear-Crypt-CHAP/f14/master] update to 1.5.0
Remi Collet
remi at fedoraproject.org
Sun Sep 19 06:45:53 UTC 2010
commit df6a818931e39751fc54ef982677ac740aa31280
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 | 23 ++++++++++++++++++++---
sources | 2 +-
2 files changed, 21 insertions(+), 4 deletions(-)
---
diff --git a/php-pear-Crypt-CHAP.spec b/php-pear-Crypt-CHAP.spec
index e216969..c28d0f0 100644
--- a/php-pear-Crypt-CHAP.spec
+++ b/php-pear-Crypt-CHAP.spec
@@ -2,7 +2,7 @@
%define pear_name Crypt_CHAP
Name: php-pear-Crypt-CHAP
-Version: 1.0.2
+Version: 1.5.0
Release: 1%{?dist}
Summary: Class to generate CHAP packets
@@ -10,15 +10,18 @@ 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: CHAP-MD5, MS-CHAPv1, MS-CHAPv2. For MS-CHAP the
@@ -55,6 +58,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 || :
@@ -74,6 +84,13 @@ fi
%changelog
+* Sun Sep 19 2010 Remi Collet <Fedora at FamilleCollet.com> - 1.5.0-1
+- upstream 1.5.0 with patches merged
+- clean define
+- set date.timezone during build
+- review desc. (remove ref to mhash)
+- run tests during %%check
+
* Sun Aug 30 2009 Christopher Stone <chris.stone at gmail.com> 1.0.2-1
- Upstream sync
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