summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pear-Auth_HTTP.spec23
1 files changed, 16 insertions, 7 deletions
diff --git a/php-pear-Auth_HTTP.spec b/php-pear-Auth_HTTP.spec
index e2ec0d9..daf6c35 100644
--- a/php-pear-Auth_HTTP.spec
+++ b/php-pear-Auth_HTTP.spec
@@ -2,23 +2,26 @@
%global pear_name Auth_HTTP
Name: php-pear-Auth_HTTP
-Version: 2.1.6
-Release: 7%{?dist}
+Version: 2.1.8
+Release: 1%{?dist}
Summary: Class providing HTTP authentication methods
Group: Development/Libraries
License: PHP
URL: http://pear.php.net/package/Auth_HTTP
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 php-pear(Auth) >= 1.2.0
+
Requires: php-pear(PEAR)
-Requires(post): %{__pear}
-Requires(postun): %{__pear}
-Provides: php-pear(%{pear_name}) = %{version}
+Requires(post): %{__pear}
+Requires(postun): %{__pear}
Requires: php-pear(Auth) >= 1.2.0
+Provides: php-pear(%{pear_name}) = %{version}
+
+
%description
The PEAR::Auth_HTTP class provides methods for creating an HTTP
authentication system using PHP, that is similar to Apache's
@@ -30,6 +33,9 @@ realm-based .htaccess authentication.
mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}
+sed -e '/README/s/role="data"/role="doc"/' \
+ -i %{pear_name}.xml
+
%build
cd %{pear_name}-%{version}
@@ -62,12 +68,15 @@ fi
%files
%defattr(-,root,root,-)
+%doc %{pear_docdir}/%{pear_name}
%{pear_xmldir}/%{pear_name}.xml
-%{pear_testdir}/%{pear_name}
%{pear_phpdir}/Auth/HTTP.php
%changelog
+* Tue Aug 21 2012 Remi Collet <RPMS@FamilleCollet.com> - 2.1.8-1
+- update to 2.1.8
+
* Tue Aug 14 2012 Remi Collet <remi@fedoraproject.org> - 2.1.6-7
- rebuilt for new pear_testdir