diff options
-rw-r--r-- | php-symfony2-Finder.spec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/php-symfony2-Finder.spec b/php-symfony2-Finder.spec index c08d2c3..b546aec 100644 --- a/php-symfony2-Finder.spec +++ b/php-symfony2-Finder.spec @@ -60,10 +60,6 @@ sed -e '/\.gitignore/d' \ # package.xml is version 2.0 mv package.xml %{pear_name}-%{version}/%{name}.xml -sed -e '/bootstrap/s:vendor/autoload.php:%{pear_phpdir}/Symfony/Component/%{pear_name}/autoloader.php:' \ - %{buildroot}%{pear_testdir}/%{pear_name}/Symfony/Component/%{pear_name}/phpunit.xml.dist \ - > %{buildroot}%{pear_testdir}/%{pear_name}/Symfony/Component/%{pear_name}/phpunit.xml - %build # Empty build section, nothing required @@ -80,6 +76,10 @@ rm -rf %{buildroot}%{pear_metadir}/.??* mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} +sed -e '/bootstrap/s:vendor/autoload.php:%{pear_phpdir}/Symfony/Component/%{pear_name}/autoloader.php:' \ + %{buildroot}%{pear_testdir}/%{pear_name}/Symfony/Component/%{pear_name}/phpunit.xml.dist \ + > %{buildroot}%{pear_testdir}/%{pear_name}/Symfony/Component/%{pear_name}/phpunit.xml + %check cd %{pear_name}-%{version}/Symfony/Component/%{pear_name} |