rpms/php-pear-Auth-SASL/F-11 php-pear-Auth-SASL.spec,1.3,1.4

Remi Collet remi at fedoraproject.org
Sat Apr 25 05:59:19 UTC 2009


Author: remi

Update of /cvs/extras/rpms/php-pear-Auth-SASL/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24229

Modified Files:
	php-pear-Auth-SASL.spec 
Log Message:
spec cleanup - remove php/httpd dependency


Index: php-pear-Auth-SASL.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-SASL/F-11/php-pear-Auth-SASL.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- php-pear-Auth-SASL.spec	26 Feb 2009 20:43:52 -0000	1.3
+++ php-pear-Auth-SASL.spec	25 Apr 2009 05:58:48 -0000	1.4
@@ -1,16 +1,11 @@
 # default values when new /etc/rpm/macros.pear not present
 %{!?__pear:       %define __pear       %{_bindir}/pear}
-%{!?pear_phpdir:  %define pear_phpdir  %(%{__pear} config-get php_dir  2> /dev/null || echo undefined)}
-%{!?pear_docdir:  %define pear_docdir  %(%{__pear} config-get doc_dir  2> /dev/null || echo undefined)}
-%{!?pear_testdir: %define pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo undefined)}
-%{!?pear_datadir: %define pear_datadir %(%{__pear} config-get data_dir 2> /dev/null || echo undefined)}
-%{!?pear_xmldir:  %define pear_xmldir  %{pear_phpdir}/.pkgxml}
 
-Summary:     PEAR: Abstraction of various SASL mechanism responses
-Summary(fr): PEAR: Abstraction de différents mécanismes de réponse 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.2
-Release:     5%{?dist}
+Release:     6%{?dist}
 License:     BSD
 Group:       Development/Libraries
 Source:      http://pear.php.net/get/Auth_SASL-%{version}.tgz
@@ -18,8 +13,8 @@
 URL:         http://pear.php.net/package/Auth_SASL
 
 BuildArch:        noarch
-BuildRequires:    php-pear(PEAR) >= 1.4.9
-Requires:         php-pear(PEAR) >= 1.4.9, php >= 4.0.0
+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}
@@ -40,36 +35,43 @@
 o Anonymous (anonyme)
 o Login (Pseudo-mécanisme)
 
+
 %prep
 %setup -c -q
-mv package.xml Auth_SASL-%{version}/Auth_SASL.xml
+mv package.xml Auth_SASL-%{version}/%{name}.xml
+
 
 %build
 # Empty build section
 
+
 %install
 rm -rf %{buildroot}
 
 cd Auth_SASL-%{version}
-%{__pear} install --nodeps --packagingroot %{buildroot} Auth_SASL.xml
+%{__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 Auth_SASL.xml %{buildroot}%{pear_xmldir}
+%{__install} -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+
 
 %check
 # Sanity check
 lst=$(find %{buildroot}%{pear_phpdir} -exec grep -q %{buildroot} {} \; -print)
 [ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1;
 
+
 %clean
 rm -rf %{buildroot}
 
+
 %post
-%{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/Auth_SASL.xml >/dev/null || :
+%{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/%{name}.xml >/dev/null || :
+
 
 %postun
 # if refcount = 0 then package has been removed (not upgraded)
@@ -80,9 +82,14 @@
 %files
 %defattr(-,root,root,-)
 %{pear_phpdir}/Auth
-%{pear_xmldir}/Auth_SASL.xml
+%{pear_xmldir}/%{name}.xml
 
 %changelog
+* Sat Apr 25 2009 Remi Collet <Fedora at FamilleCollet.com> 1.0.2-6
+- remove PEAR from sumnary
+- remove php (httpd) dependency
+- spec clean up
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list