SPECS: php-pear-PEAR.spec - create %build

glen glen at pld-linux.org
Wed Jul 4 00:36:46 CEST 2007


Author: glen                         Date: Tue Jul  3 22:36:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create %build

---- Files affected:
SPECS:
   php-pear-PEAR.spec (1.136 -> 1.137) 

---- Diffs:

================================================================
Index: SPECS/php-pear-PEAR.spec
diff -u SPECS/php-pear-PEAR.spec:1.136 SPECS/php-pear-PEAR.spec:1.137
--- SPECS/php-pear-PEAR.spec:1.136	Sat Jun 30 23:08:03 2007
+++ SPECS/php-pear-PEAR.spec	Wed Jul  4 00:36:41 2007
@@ -132,10 +132,7 @@
 
 find '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v
 
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{php_pear_dir},%{_bindir}}
-
+%build
 D=$(pwd)
 pearcmd() {
 	%{__pear} -c ${D}/pearrc "$@"
@@ -145,9 +142,12 @@
 pearcmd config-set php_dir %{php_pear_dir} || exit
 pearcmd config-set test_dir %{php_pear_dir}/tests || exit
 pearcmd config-set sig_bin %{_bindir}/gpg || exit
-cp $D/pearrc $RPM_BUILD_ROOT%{_sysconfdir}/pear.conf
 
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{php_pear_dir},%{_bindir}}
 %pear_package_install
+cp pearrc $RPM_BUILD_ROOT%{_sysconfdir}/pear.conf
 
 install -d $RPM_BUILD_ROOT%{_channelsdir}/.alias
 install -d $RPM_BUILD_ROOT%{_registrydir}/{.channel.{__uri,pecl.php.net},channels/.alias}
@@ -253,6 +253,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.137  2007/07/03 22:36:41  glen
+- create %build
+
 Revision 1.136  2007/06/30 21:08:03  arekm
 - up to 1.6.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR.spec?r1=1.136&r2=1.137&f=u



More information about the pld-cvs-commit mailing list