]> git.pld-linux.org Git - packages/php-pear-Cache.git/commitdiff
- simplifications in %install. php-pear-Cache-1_5_1-1
authorkloczek <kloczek@pld-linux.org>
Sun, 30 Jun 2002 19:43:12 +0000 (19:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear-Cache.spec -> 1.2

php-pear-Cache.spec

index 70477f6eefb6a5ecadd07b839012c085d557d8da..ebc883d7076f385412d9bb48c2b7c304fa6174e5 100644 (file)
@@ -29,13 +29,11 @@ aplikacjami.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd %{_pearname}-%{version}
-
 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
 
-install %{_class}.php          $RPM_BUILD_ROOT%{php_pear_dir}/
-install *.php                  $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
-install Container/*.php                $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
+install %{_pearname}-%{version}/%{_class}.php $RPM_BUILD_ROOT%{php_pear_dir}/
+install %{_pearname}-%{version}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+install %{_pearname}-%{version}/Container/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/Container
 
 rm $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/%{_class}.php
 
This page took 0.069337 seconds and 4 git commands to generate.