rpms/php-pear-HTTP/EL-6 php-pear-HTTP.spec,1.10,1.11

Remi Collet remi at fedoraproject.org
Sat May 22 07:19:47 UTC 2010


Author: remi

Update of /cvs/pkgs/rpms/php-pear-HTTP/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv979

Modified Files:
	php-pear-HTTP.spec 
Log Message:
spec cleanup


Index: php-pear-HTTP.spec
===================================================================
RCS file: /cvs/pkgs/rpms/php-pear-HTTP/EL-6/php-pear-HTTP.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- php-pear-HTTP.spec	26 Jul 2009 18:16:45 -0000	1.10
+++ php-pear-HTTP.spec	22 May 2010 07:19:47 -0000	1.11
@@ -1,11 +1,11 @@
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
-%define pear_name HTTP
+%global pear_name HTTP
 
 Summary:     Miscellaneous HTTP utilities
 Summary(fr): Divers utilitaires HTTP
 Name:        php-pear-HTTP
 Version:     1.4.1
-Release:     4%{?dist}
+Release:     5%{?dist}
 License:     PHP
 Group:       Development/Libraries
 URL:         http://pear.php.net/package/HTTP
@@ -36,7 +36,7 @@ redirections HTTP.
 %setup -c -q
 # package.xml is V2
 %{_bindir}/php -n %{SOURCE2} package.xml >CHANGELOG
-mv package.xml %{pear_name}-%{version}/%{pear_name}.xml
+mv package.xml %{pear_name}-%{version}/%{name}.xml
 
 
 %build
@@ -47,14 +47,14 @@ mv package.xml %{pear_name}-%{version}/%
 rm -rf %{buildroot}
 
 cd %{pear_name}-%{version}
-%{__pear} install --nodeps --packagingroot %{buildroot} %{pear_name}.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 %{pear_name}.xml %{buildroot}%{pear_xmldir}
+%{__install} -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %check
@@ -72,7 +72,7 @@ rm -rf %{buildroot}
 
 
 %post
-%{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/%{pear_name}.xml  >/dev/null || :
+%{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/%{name}.xml  >/dev/null || :
 
 
 %postun
@@ -86,11 +86,15 @@ fi
 %defattr(-,root,root,-)
 %doc CHANGELOG
 %{pear_phpdir}/HTTP.php
-%{pear_xmldir}/HTTP.xml
+%{pear_xmldir}/%{name}.xml
 %{pear_testdir}/HTTP
 
 
 %changelog
+* Sat May 22 2010 Remi Collet <Fedora at FamilleCollet.com> 1.4.1-5
+- spec cleanup
+- rename HTTP.xml to php-pear-HTTP.xml
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 



More information about the scm-commits mailing list