From: kloczek Date: Sun, 30 Jun 2002 19:43:12 +0000 (+0000) Subject: - simplifications in %install. X-Git-Tag: php-pear-Date-1_1-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fphp-pear-Date.git;a=commitdiff_plain;h=df9dd7017d6d9c6856beeabdbe127dc0d4f7ee4d - simplifications in %install. Changed files: php-pear-Date.spec -> 1.3 --- diff --git a/php-pear-Date.spec b/php-pear-Date.spec index 75b8891..a8c7f95 100644 --- a/php-pear-Date.spec +++ b/php-pear-Date.spec @@ -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