]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- make sure same format is used in -tests subdir
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 6 Feb 2008 19:04:39 +0000 (19:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-pear.spec -> 1.33

php-pear.spec

index ae7f5726d1f580e24fe0513f7ab7043d08a71ae0..82a21b648b12b899ce7afd4a0ef50dfc6225e370 100644 (file)
@@ -88,6 +88,10 @@ rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
 install -d ./%{php_pear_dir}/tests/%{_pearname}
 mv docs/%{_pearname}/tests/* ./%{php_pear_dir}/tests/%{_pearname}
 
+# tests -> tests/%{_pearname}
+install -d ./%{php_pear_dir}/tests/%{_pearname}
+mv ./%{php_pear_dir}/tests/{*,%{_pearname}}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
@@ -116,4 +120,4 @@ fi
 
 %files tests
 %defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/tests/%{_pearname}
This page took 0.106856 seconds and 4 git commands to generate.