[php-pear-Auth-SASL/el6] update to 1.0.6
Remi Collet
remi at fedoraproject.org
Fri Sep 12 04:59:48 UTC 2014
commit 9f46b398c37b11c4378ee36ca5d4eb416ca3687b
Author: Remi Collet <remi at fedoraproject.org>
Date: Fri Sep 12 06:59:40 2014 +0200
update to 1.0.6
.gitignore | 6 +++++-
php-pear-Auth-SASL.spec | 32 +++++++++++++++++++-------------
sources | 2 +-
3 files changed, 25 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8bc0d1f..a169faa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,5 @@
-Auth_SASL-1.0.3.tgz
+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 113af0b..ed4664b 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_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__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.4
-Release: 1%{?dist}
+Version: 1.0.6
+Release: 5%{?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:
@@ -28,7 +31,7 @@ o Anonymous
o Login (Pseudo mechanism)
%description -l fr
-Fournit le code pour répondre aux mécanismes SASL commun, comprennant :
+Fournit le code pour répondre aux mécanismes SASL commun, comprenant :
o Digest-MD5 (secret partagé)
o CramMD5 (secret partagé)
o Plain (en clair)
@@ -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}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
# 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
+* Fri Sep 12 2014 Remi Collet <remi at fedoraproject.org> - 1.0.6-1
+- update to 1.0.6 (API 1.0.3) - QA release
+
* Mon Feb 08 2010 Remi Collet <Fedora at FamilleCollet.com> 1.0.4-1
- update to 1.0.4
diff --git a/sources b/sources
index 5554dde..35f4c6d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c215318bf4cbea3704fed26172f51c82 Auth_SASL-1.0.4.tgz
+75792cb080b66c3ed942c793ce977b09 Auth_SASL-1.0.6.tgz
More information about the scm-commits
mailing list