diff --git a/php-phpunit-exporter.spec b/php-phpunit-exporter.spec index 70da52e..1dd4db9 100644 --- a/php-phpunit-exporter.spec +++ b/php-phpunit-exporter.spec @@ -21,7 +21,6 @@ License: BSD URL: https://github.com/sebastianbergmann/exporter Source0: http://%{pear_channel}/get/%{pear_name}-%{version}.tgz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php(language) >= 5.3.3 BuildRequires: php-pear(PEAR) >= 1.9.4 @@ -61,7 +60,6 @@ cd %{pear_name}-%{version} %install -rm -rf %{buildroot} cd %{pear_name}-%{version} %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml @@ -73,10 +71,6 @@ mkdir -p %{buildroot}%{pear_xmldir} install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir} -%clean -rm -rf %{buildroot} - - %post %{__pear} install --nodeps --soft --force --register-only \ %{pear_xmldir}/%{name}.xml >/dev/null || : @@ -89,7 +83,6 @@ fi %files -%defattr(-,root,root,-) %doc %{pear_docdir}/%{pear_name} %{pear_xmldir}/%{name}.xml %dir %{pear_phpdir}/SebastianBergmann