SPECS: php-pear-PHP2XMI.spec - fix build, remove empty if

glen glen at pld-linux.org
Mon Oct 10 19:08:23 CEST 2005


Author: glen                         Date: Mon Oct 10 17:08:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix build, remove empty if

---- Files affected:
SPECS:
   php-pear-PHP2XMI.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/php-pear-PHP2XMI.spec
diff -u SPECS/php-pear-PHP2XMI.spec:1.1 SPECS/php-pear-PHP2XMI.spec:1.2
--- SPECS/php-pear-PHP2XMI.spec:1.1	Mon Oct 10 19:01:13 2005
+++ SPECS/php-pear-PHP2XMI.spec	Mon Oct 10 19:08:18 2005
@@ -29,20 +29,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
-
-%pear_package_install
+install -d $RPM_BUILD_ROOT{%{_bindir},%{php_pear_dir}}
+cp -a ./%{php_pear_dir}/.registry $RPM_BUILD_ROOT%{php_pear_dir}
+cp -a ./%{_bindir}/* $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%if 0
-%post
-if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
-	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
-fi
-%endif
-
 %files
 %defattr(644,root,root,755)
 %{php_pear_dir}/.registry/*.reg
@@ -54,6 +47,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/10/10 17:08:18  glen
+- fix build, remove empty if
+
 Revision 1.1  2005/10/10 17:01:13  arekm
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-PHP2XMI.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list