[php-pear-Auth-SASL] update to 1.0.6 - QA

Remi Collet remi at fedoraproject.org
Sat Oct 1 15:23:28 UTC 2011


commit 8432548050a1cdffba585a6a4b23bdac46e4fac5
Author: remi <fedora at famillecollet.com>
Date:   Sat Oct 1 17:23:13 2011 +0200

    update to 1.0.6 - QA

 .gitignore              |    1 +
 php-pear-Auth-SASL.spec |   24 +++++++++++++++---------
 sources                 |    2 +-
 3 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a81fddc..a169faa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ package-*.xml
 php-pear-Auth-SASL.spec~
 Auth_SASL-1.0.4.tgz
 /Auth_SASL-1.0.5.tgz
+/Auth_SASL-1.0.6.tgz
diff --git a/php-pear-Auth-SASL.spec b/php-pear-Auth-SASL.spec
index 7e206da..8a6ff3e 100644
--- a/php-pear-Auth-SASL.spec
+++ b/php-pear-Auth-SASL.spec
@@ -1,23 +1,26 @@
 # default values when new /etc/rpm/macros.pear not present
 %{!?__pear:       %global __pear       %{_bindir}/pear}
 
+%global pear_name Auth_SASL
+
 Summary:     Abstraction of various SASL mechanism responses
 Summary(fr): Abstraction de différents mécanismes de réponse SASL
 Name:        php-pear-Auth-SASL
-Version:     1.0.5
+Version:     1.0.6
 Release:     1%{?dist}
 License:     BSD
 Group:       Development/Libraries
-Source:      http://pear.php.net/get/Auth_SASL-%{version}.tgz
-BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL:         http://pear.php.net/package/Auth_SASL
+Source:      http://pear.php.net/get/%{pear_name}-%{version}.tgz
 
+BuildRoot:        %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:        noarch
 BuildRequires:    php-pear >= 1:1.4.9-1.2
+
 Requires:         php-pear(PEAR) >= 1.4.9
 Requires(post):   %{__pear}
 Requires(postun): %{__pear}
-Provides:         php-pear(Auth_SASL) = %{version}
+Provides:         php-pear(%{pear_name}) = %{version}
 
 %description
 Provides code to generate responses to common SASL mechanisms, including:
@@ -38,7 +41,7 @@ o Login (Pseudo-mécanisme)
 
 %prep
 %setup -c -q
-mv package.xml Auth_SASL-%{version}/%{name}.xml
+mv package.xml %{pear_name}-%{version}/%{name}.xml
 
 
 %build
@@ -48,15 +51,15 @@ mv package.xml Auth_SASL-%{version}/%{name}.xml
 %install
 rm -rf %{buildroot}
 
-cd Auth_SASL-%{version}
+cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
 rm -rf %{buildroot}%{pear_phpdir}/.??*
 
 # Install XML package description
-%{__mkdir_p} %{buildroot}%{pear_xmldir}
-%{__install} -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+mkdir -p %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %check
@@ -76,7 +79,7 @@ rm -rf %{buildroot}
 %postun
 # if refcount = 0 then package has been removed (not upgraded)
 if [ "$1" -eq "0" ]; then
-    %{__pear} uninstall --nodeps --ignore-errors --register-only  Auth_SASL >/dev/null || :
+    %{__pear} uninstall --nodeps --ignore-errors --register-only  %{pear_name} >/dev/null || :
 fi
 
 
@@ -87,6 +90,9 @@ fi
 
 
 %changelog
+* Sat Oct 01 2011 Remi Collet  <remi at fedoraproject.org> 1.0.6-1
+- update to 1.0.6 (API 1.0.3) - QA release
+
 * Wed Sep 14 2011 Remi Collet <Fedora at FamilleCollet.com> 1.0.5-1
 - update to 1.0.5 - QA release
 
diff --git a/sources b/sources
index 9a8061a..35f4c6d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-17cc9c10591397b5fd248e9d6f175417  Auth_SASL-1.0.5.tgz
+75792cb080b66c3ed942c793ce977b09  Auth_SASL-1.0.6.tgz


More information about the scm-commits mailing list