]> git.pld-linux.org Git - packages/php-pear-Date.git/commitdiff
- simplifications in %install. php-pear-Date-1_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-Date.spec -> 1.3

php-pear-Date.spec

index 75b88914a8aff9b5b4c966e030993b1d6d754b79..a8c7f9553848c2a88c5e1e67ccbef365b70ed663 100644 (file)
@@ -29,12 +29,10 @@ bazowane na Date::Calc.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-cd %{_pearname}-%{version}
-
 install -d $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}
 
-install %{_class}.php          $RPM_BUILD_ROOT%{php_pear_dir}/
-install %{_class}/*.php                $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
+install %{_pearname}-%{version}/%{_class}.php $RPM_BUILD_ROOT%{php_pear_dir}/
+install %{_pearname}-%{version}/%{_class}/*.php $RPM_BUILD_ROOT%{php_pear_dir}/%{_class}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.153791 seconds and 4 git commands to generate.